How to run strace with full output

Running strace can be extremely useful in troubleshooting. However, running strace without option will only provide abbreviated output. To see the full arguments, you should run strace with the following options:

strace -ff -v -x -s 1024 -o </path/to/outputfile> <command> <command-arguments ...>

or:

strace -ff -v -x -s 1024 -o </path/to/outputfile> -p <process-id>

-- Ivo van Geel - 20 Jan 2015


This topic: Main > WebHome > RunningFullSTrace
Topic revision: r1 - 20 Jan 2015 - IvoVanGeel
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 2010-2019 by LANIS