Skip to content

Instantly share code, notes, and snippets.

@sergeycherepanov
Created June 19, 2018 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergeycherepanov/6eb2cc3749956002b72b407260658c38 to your computer and use it in GitHub Desktop.
Save sergeycherepanov/6eb2cc3749956002b72b407260658c38 to your computer and use it in GitHub Desktop.
strace
sudo strace -p {PID} -s 512 2>&1 | awk '{ print strftime("[\%Y-\%m-\%d \%H:\%M:\%S]"), " --> ", $0 }' | tee -a ~/strace.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment