[Twisted-Python] Getting a list of services and/or plugins are currently running

Elizabeth Liao eliao at seegrid.com
Mon Oct 18 15:10:43 EDT 2010

Sorry about that.  I just started using twisted so I'll try to be more specific.

We have 2 different twisted plugins that uses shared code.   Each of these plugins is run as a  TCPClient on separate machines.

What would like to do is to somehow identify what twisted services/plugins are running because different things happen depending on what plugin is currently in use.  We are running on Linux wanted to see if there was an easy way of doing that using the twisted libraries.  I suppose one solution is to get a list of processes running and parse that but I would rather not do that.



From: twisted-python-bounces at twistedmatrix.com [twisted-python-bounces at twistedmatrix.com] on behalf of Glyph Lefkowitz [glyph at twistedmatrix.com]
Sent: Monday, October 18, 2010 1:44 PM
To: Twisted general discussion
Subject: Re: [Twisted-Python] Getting a list of services and/or plugins are currently running

On Oct 18, 2010, at 1:41 PM, Elizabeth Liao wrote:

Hi all,

I'm looking for a way to get a list of services and/or plugins that currently running on a machine.  Does anyone have any suggestions on how to do that?



This question is a bit too vague to be answered with any confidence.  What do you mean by "service"?  What do you mean by "plugin"?  And what do you mean by "running"?  These things have generic meanings and then more specific jargon-y meanings with respect to Twisted.  Do you mean "what twistd plugins are installed in my system Python", or "what processes that use Twisted are currently running", or "what Service objects are currently .running == True in my current process", or something else?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20101018/54842184/attachment.htm 

More information about the Twisted-Python mailing list