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
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
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 mailto: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 <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
From: Jatin Davey jashokda@cisco.com
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 ?
Search for 'thread' in ps manpage; you will find several options...
JD