<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" style="word-wrap: break-word;">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Sorry about that. I just started using twisted so I'll try to be more specific.<br>
<br>
We have 2 different twisted plugins that uses shared code. Each of these plugins is run as a TCPClient on separate machines.<br>
<br>
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.<br>
<br>
Thanks.<br>
<br>
Liz<br>
<br>
<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF158215"><font color="#000000" face="Tahoma" size="2"><b>From:</b> twisted-python-bounces@twistedmatrix.com [twisted-python-bounces@twistedmatrix.com] on behalf of Glyph Lefkowitz [glyph@twistedmatrix.com]<br>
<b>Sent:</b> Monday, October 18, 2010 1:44 PM<br>
<b>To:</b> Twisted general discussion<br>
<b>Subject:</b> Re: [Twisted-Python] Getting a list of services and/or plugins are currently running<br>
</font><br>
</div>
<div></div>
<div><br>
<div>
<div>On Oct 18, 2010, at 1:41 PM, Elizabeth Liao wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Menlo; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;">
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Hi all,<br>
<br>
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?<br>
<br>
Thanks.<br>
<br>
Liz<br>
</div>
</div>
</span></blockquote>
<br>
</div>
<div>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?</div>
<div><br>
</div>
</div>
</div>
</div>
</body>
</html>