Re: strace questions

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

 



How to write the strace output to a file. redirection is not working to write
kernel output.

Seth Arnold wrote:

> 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
>
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux