cmd, shell

Tracing an already existing process

$ strace -p pid

Attaches to the process with PID=pid and shows the utilization of system calls.
Very useful when a process seems to be stuck and you want to know what is going on.

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*Required Fields