Tech Support > Operating Systems > Linux / Variants > silly problem with top
silly problem with top
Posted by Shi Jin on August 8th, 2003


Hi

I want to use top top see the status of my code which doesn't take much
CPU nor memory and I have lots of other processes running so it is not on
top.
I checked the man page of top, I can use top -p pid to show the status of
the specific process. But when I tried it, there is nothing in the
processes list although on top there are some information about the system
shown.

If I use several -p option together, I can see some of them but not all.

This makes me feel uncomfortable.
Any idea?

Thanks a lot.

Shi

Posted by Jeff M Horsager on August 8th, 2003


Are you saying that if you use 'top -p [pid]' with the correct pid for
your currently running process you get nothing? The only way I can do
that on my system is with a pid that doesn't exist. Are you sure you're
using the right pid as an arg?

You could try some of the interactive commands to change the sort
order while top is running if the default doesn't cut it (they're in the
man page also).

Jeff



On Thu, 07 Aug 2003 19:01:14 -0400, Shi Jin wrote:



Similar Posts