[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strace questions



On Mon, Feb 10, 2003 at 03:34:16PM -0600, Noah Yan wrote:
> strace can report system call and signal of a process. Is it used only for
> testing some program?

Primarily.

> Can I use it on a already running process?

man strace; look for -p.

> If yes, does it impact the execution time or performance of the
> process?

I think it causes syscall times to roughly double. It may help to
redirect output to a file, since waiting for terminals to disply text
can take a while...

-- 
People who separate manpages from the programs
they document would steal sheep.  -- apologies to Goudy

PGP signature