<div> strace?</div>
<div> </div>
<div> valgrind?</div>
<div> </div>
<div> There aren't any profiling tools or the sort within the Asterisk suite that will deliver the information you're looking for about what each thread is doing. <br><br> </div>
<div><span class="gmail_quote">On 10/20/05, <b class="gmail_sendername">Jason Walker</b> <<a href="mailto:desktophero@gmail.com">desktophero@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"></font> </div>
<div lang="en-us" dir="ltr" align="left"><br> </div>
<div></div>
<div><font face="Arial" size="2"></font> </div>
<div><span><font face="Arial" size="2">When I run 'ps aux' I get this:</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Courier New" size="2">root       964  0.0  0.4 47836 8280 ?        S    00:02   0:00 asterisk -vvvg -c<br>root       965  0.0  0.4 47836 8280 ?        S    00:02   0:00 asterisk -vvvg -c<br>root       967  
0.0  0.4 47836 8280 ?        S    00:02   0:00 asterisk -vvvg -c<br>root       975  0.0  0.4 47836 8280 ?        S    00:02   0:00 asterisk -vvvg -c<br>root       982  0.0  0.4 47836 8280 ?        S    00:02   0:00 asterisk -vvvg -c
<br>root       984  0.0  0.4 47836 8280 ?        S    00:02   0:12 asterisk -vvvg -c<br>root       986  0.0  0.4 47836 8280 ?        S    00:02   0:00 asterisk -vvvg -c<br>root       987  0.1  0.4 47836 8280 ?        S    00:02   1:10 asterisk -vvvg -c
<br>root       988  0.1  0.4 47836 8280 ?        S    00:02   1:24 asterisk -vvvg -c<br>root       989  0.0  0.4 47836 8280 ?        S    00:02   0:00 asterisk -vvvg -c<br>root       993  0.0  0.4 47836 8280 ?        S    00:02   0:00 asterisk -vvvg -c
<br>root       994  0.0  0.4 47836 8280 ?        S    00:02   0:17 asterisk -vvvg -c<br>root       996  0.0  0.4 47836 8280 ?        S    00:02   0:00 asterisk -vvvg -c<br>root       997  0.0  0.4 47836 8280 ?        S    00:02   0:02 asterisk -vvvg -c
<br>root     24202  1.2  0.4 47836 8280 ?        S    09:04   6:52 asterisk -vvvg -c<br>root     29417  1.6  0.4 47836 8280 ?        S    11:07   6:54 asterisk -vvvg -c<br>root      6555  1.0  0.4 47836 8280 ?        S    14:44   2:04 asterisk -vvvg -c
<br>root      8463  1.1  0.4 47836 8280 ?        S    15:29   1:53 asterisk -vvvg -c<br>root     14405  1.0  0.4 47836 8280 ?        S    17:47   0:15 asterisk -vvvg -c</font></span></div>
<div><span><font face="Courier New" size="2"></font></span> </div>
<div><span><font face="Courier New" size="2">My question is, why are there 21 instances of asterisk running?</font></span></div>
<div><span><font face="Courier New" size="2"></font></span> </div>
<div><span><font face="Courier New" size="2">I understand the concept of a multi-threaded app in Linux (such as httpd). I am just looking for possible avenues and explanations of where I could look to figure out what each instance (or some of the instances) are actually doing.
</font></span></div>
<div><span><font face="Courier New" size="2"></font></span> </div>
<div><span><font face="Courier New" size="2">* 1.0.9; FC1 </font></span></div>
<div><span><font face="Courier New" size="2"></font></span> </div>
<div><span><font face="Courier New" size="2">Thanks in advance</font></span></div><span class="sg">
<div><span><font face="Courier New" size="2"></font></span> </div>
<div><span><font face="Courier New" size="2">Jason</font></span></div></span><br>_______________________________________________<br>--Bandwidth and Colocation sponsored by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://easynews.com/" target="_blank">
Easynews.com</a> --<br><br>Asterisk-Users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>To UNSUBSCRIBE or update options visit:<br>  <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br></blockquote></div><br>