<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14pt"><div dir="ltr"><span>Hello,</span></div><div style="color: rgb(0, 0, 0); font-size: 18.6667px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" dir="ltr"><span>I am really appreciate for your help.Thanks alot.<br></span></div><div> </div><div>Regard
<br>Sami</div><div><br></div> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 14pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Tzafrir Cohen <tzafrir.cohen@xorcom.com><br> <b><span style="font-weight: bold;">To:</span></b> asterisk-users@lists.digium.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, 5 January 2014, 17:13:43<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [asterisk-users] How to get Asterisk acting like a Multi-thread application?<br> </font> </div> <div class="y_msg_container"><br>On Sun, Jan 05, 2014 at 12:20:37PM +0000, <a shape="rect" ymailto="mailto:sami@yahoo.com" href="mailto:sami@yahoo.com">sami@yahoo.com</a> wrote:<br clear="none">>
Hello,<br clear="none">> thanks for your reply.<br clear="none">> So if I have 10 active channels I have 10 threads ?<br clear="none">> How can I get the number of threads that Asterisk is now using or running under?<br clear="none"><br clear="none">On my system there are no active channels[1]. I have:<br clear="none"><br clear="none"># pidof asterisk<br clear="none">14386<br clear="none"><br clear="none"># ls /proc/14386/task<br clear="none">14386 14391 14395 14399 14404 14409 14413 14417 14421 14425 14429<br clear="none">14388 14392 14396 14400 14406 14410 14414 14418 14422 14426 14430<br clear="none">14389 14393 14397 14402 14407 14411 14415 14419 14423 14427 14431<br clear="none">14390 14394 14398 14403 14408 14412 14416 14420
14424 14428 14432<br clear="none"><br clear="none">And of coursse: asterisk -rx 'core show threads'<br clear="none"><br clear="none"><br clear="none">[1] but it's still good enough to get Wesnoth hung:<br clear="none"><a shape="rect" href="http://bugs.debian.org/734124" target="_blank">http://bugs.debian.org/734124</a><div class="yqt8651160135" id="yqtfd50732"><br clear="none"><br clear="none">-- <br clear="none"> Tzafrir Cohen<br clear="none">icq#16849755 jabber:<a shape="rect" ymailto="mailto:tzafrir.cohen@xorcom.com" href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br clear="none">+972-50-7952406 mailto:<a shape="rect" ymailto="mailto:tzafrir.cohen@xorcom.com" href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br clear="none"><a shape="rect" href="http://www.xorcom.com/"
target="_blank">http://www.xorcom.com</a><br clear="none"><br clear="none">-- <br clear="none">_____________________________________________________________________<br clear="none">-- Bandwidth and Colocation Provided by <a shape="rect" href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com </a>--<br clear="none">New to Asterisk? Join us for a live introductory webinar every Thurs:<br clear="none"> <a shape="rect" href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br clear="none"><br clear="none">asterisk-users mailing list<br clear="none">To UNSUBSCRIBE or update options visit:<br clear="none"> <a shape="rect" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div><br><br></div> </div> </div> </div></body></html>