Ben Stringer wrote:

This entry is for ps, will this be the same situation for top?

On linux systems, they are part of the same package (procps), and both
top and ps will behave the same way. Your RHEL3 system will likely be
running a 2.4 series kernel. From the procps FAQ:

Why do ps and top show threads individually?

The 2.4.xx kernel does not provide proper support for grouping threads
by
process. Hacks exist to group them anyway, but such hacks will falsely
group
similar tasks and will fail to group tasks due to race conditions. The
hacks
are also slow. As none of this is acceptable in a critical system tool,
task
grouping is not currently available for the 2.4.xx kernel. The 2.6.xx
kernel
allows for proper thread grouping and reporting. To take advantage of
this,
your programs must use a threading library that features the
CLONE_THREAD flag.
The NPTL pthreads provided by recent glibc releases use CLONE_THREAD.

Cheers, Ben


Thanks Ben.

This is what I needed.

Cheers

John



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to