Finding out what a process is doing

Fernando Duran liberosec-FFYn/CNdgSA at public.gmane.org
Thu Mar 29 15:07:58 UTC 2007


--- Neil Watson <tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org> wrote:

> I have a process (opcmona related to OpenView) that
> is using more CPU
> resources than normal.  Is there a way to get some
> idea about what this
> process is doing?

Hi,

lsof and ptrace is a good start.

Fernando 

> 
> PID USER   PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM  
> TIME CPU COMMAND
> 9998 root   25   0  6996 6992  4992 R    24.7  0.0 
> 4081m   0 opcmona
> 
> -- 
> Neil Watson             | Debian Linux
> System Administrator    | Uptime 30 days
> http://watson-wilson.ca
> --
> The Toronto Linux Users Group.      Meetings:
> http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text
> below 80 columns
> How to UNSUBSCRIBE:
> http://gtalug.org/wiki/Mailing_lists
> 


---------------------
Fernando Duran
http://www.fduran.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list