The flag -T on ps command shows the threads.

-T              Show threads, possibly with SPID column

    []s.

On 4/28/2010 7:55 AM, Brian McKerr wrote:
I am aware that 'top' can be asked to show threads by pressing 'H'. The count of tasks then changes to include all threads.



On Wed, Apr 28, 2010 at 8:27 PM, Jatin Davey <jashokda@cisco.com> wrote:
Hi

I know we can get the total number of processes running in the system
using the 'ps -A' command but is it possible to get the total number of
threads running in the system ? Is this information exposed using any of
the MIB's ?

Thanks
Jatin
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos