Changes

Jump to: navigation, search

Stracing a program

115 bytes added, 16:02, 9 June 2006
Fixed list formatting, added -f description
Here
* <tt>-o strace.out</tt> option means that strace program will output all informationto the file named <tt>strace.out</tt>;* <tt>-ff</tt> means to strace the forked children of the program. Child straces outputs will be placed to <tt>strace.out.PID</tt> files, where PID is a pid of the child. If you want all the output to a single file, use <tt>-f</tt> argument instead (i.e. single <tt>f</tt> not double).
* <tt>touch /tmp/file</tt> is the program with arguments which is to be straced.

Navigation menu