Main Menu

Search

LINUX: How To Capture STRACE Output Into A File? (Troubleshooting Doc)

Below strace command can be used to capture the strace command output into a file.
strace -o /tmp/outfile.out ls

In above command we are capturing strace on "ls" command. We can replace "ls" command with the command or proess against which we are running strace. In above example strace output is being redirected to /tmp/output.out file. The output filename can be changed accordingly.


Products to which Article Applies


All Linux and UNIX environments

Additional References






tarun boyella



No comments:

Post a Comment