<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.&nbsp; 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.&nbsp;&nbsp; Each of these plugins is run as a&nbsp; 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.&nbsp; We are running on Linux wanted to see if there was an easy way of doing that using the twisted
 libraries.&nbsp; 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.&nbsp; 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. &nbsp;What do you mean by &quot;service&quot;? &nbsp;What do you mean by &quot;plugin&quot;? &nbsp;And what do you mean by &quot;running&quot;? &nbsp;These things have generic meanings and then more specific jargon-y meanings with respect
 to Twisted. &nbsp;Do you mean &quot;what twistd plugins are installed in my system Python&quot;, or &quot;what processes that use Twisted are currently running&quot;, or &quot;what Service objects are currently .running == True in my current process&quot;, or something else?</div>
<div><br>
</div>
</div>
</div>
</div>
</body>
</html>