<quote who="Nicholas Leippe"> > On Tuesday 01 March 2005 03:02 pm, David Smith wrote: >> Here are two process questions for the kernel heads: >> >> 1. I am developing a multi-threaded app in C++ for Linux. Under RHEL >> 3.0, >> when I do 'ps -A', my app shows up just once, but under Debian Unstable, >> 'ps -A' shows 10 (the number of threads I have). Can someone explain why >> this is? I remember studying kernel-level threads and user-level threads >> in my OS class, but why would two Linux kernels behave differently? Is >> it >> just a matter of differing ps options perhaps? > > The kernels are not behaving differently, only the reporting is different. > Some utilities (ps/top) don't expand threads by default.
Indeed. I see now that 'top' shows the threads when I key 'H' and ps shows them when I add a "-m". Any idea where default configuration for top and ps is stored? --Dave .===================================. | This has been a P.L.U.G. mailing. | | Don't Fear the Penguin. | | IRC: #utah at irc.freenode.net | `==================================='