Hi!
No guarantee it's an optimal solution, but when I wanted to inspect a running process (which sounds like what you're doing), I had a pretty good time with manhole. (If you're not familiar with that: it's in Twisted Conch, and it's basically just a way to SSH in to a running box and get a REPL). In that REPL, you can of course do things like inspect the running reactor :-) cheers lvh On Wed, Apr 6, 2011 at 11:55 AM, Paul Thomas <spongelavap...@googlemail.com>wrote: > I have a reactor which is getting busier over time and I'd like to find out > where the cycles are going. Using the profiler isn't really practical on a > server running for days, so I'd like to instrument the reactor to show me > which I/O events are taking the longest to deal with. > > Should I just hack into the reactor somewhere? Or is there something > sitting in a library I haven't seen that will help with this? > > Paul. > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > -- cheers lvh
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python