<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
    The flag -T on ps command shows the threads.<br>
<br>
-T              Show threads, possibly with SPID column<br>
<br>
    []s.<br>
<br>
On 4/28/2010 7:55 AM, Brian McKerr wrote:
<blockquote
 cite="mid:z2ta18b4e031004280355x52b78847g7e8d087a7aa0a3af@mail.gmail.com"
 type="cite">I am aware that 'top' can be asked to show threads by
pressing 'H'. The count of tasks then changes to include all threads.<br>
  <br>
  <br>
  <br>
  <div class="gmail_quote">On Wed, Apr 28, 2010 at 8:27 PM, Jatin Davey
  <span dir="ltr"><<a moz-do-not-send="true"
 href="mailto:jashokda@cisco.com">jashokda@cisco.com</a>></span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi<br>
    <br>
I know we can get the total number of processes running in the system<br>
using the 'ps -A' command but is it possible to get the total number of<br>
threads running in the system ? Is this information exposed using any of<br>
the MIB's ?<br>
    <br>
Thanks<br>
Jatin<br>
_______________________________________________<br>
CentOS mailing list<br>
    <a moz-do-not-send="true" href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>
  </pre>
</blockquote>
</body>
</html>