Main Menu

Search

LINUX: Capture strace On Particular Process Into a File (How To Doc)

Below is command to capture strace of particular process into a file.

strace -p <PID> -o <outputfile>

For e.g. if you want to capture strace on PID 4444 and then save the output into /tmp/strace.out, your command will look as follows:

strace -p 4444 -o /tmp/strace.out

Products to which Article Applies


All Linux and UNIX environments

Additional References







tarun boyella

No comments:

Post a Comment