1838105 Members
3786 Online
110124 Solutions
New Discussion

Re: process tracing

 
Chiara Fregonara
Occasional Advisor

process tracing

Is there a way to know what a process is doing over a connection and on the system?
I have a process consuming always 100% cpu but seems to do nothing. Glance doesnt'tell me much. It report no system call.

Thanks
Chiara
3 REPLIES 3
Carsten Krege
Honored Contributor

Re: process tracing

You should first check in glance if the process consumes CPU in user space or in kernel (system). If it's user space, you have to enable debugging for the process that is provided by the application itself (if there is any). You can also try to find more details about the user space functions by tracing the process with prospect (http://www.hp.com/go/prospect).

If most CPU is used in kernel (system) space, you can do call tracing with tools like tusc (http://gatekeep.cs.utah.edu).

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
KapilRaj
Honored Contributor

Re: process tracing

You can track a process using lsof (freeware) also why not "nice" the process ?

Kaps
Nothing is impossible
Joseph Loo
Honored Contributor

Re: process tracing

hi,

use lsof which will show you what the process is doing, which program is taking up the cpu and many more.

try this website for a download:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/

regards.
what you do not see does not mean you should not believe