Finding out what a process is doing

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Mar 29 20:23:41 UTC 2007


On Thu, Mar 29, 2007 at 11:07:58AM -0400, Fernando Duran wrote:
> lsof and ptrace is a good start.

Does ptrace work on an alreadying running process?  I know strace has to
be run with a process.  lsof certainly can be useful, although cpu use is
often not based on file accesses.

--
Len Sorensen
--
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