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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r1 - 20 Jan 2015 - IvoVanGeel
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 2010-2019 by LANIS