Skip to content

Instantly share code, notes, and snippets.

@ryanking
Created February 23, 2009 19:08
Show Gist options
  • Save ryanking/69111 to your computer and use it in GitHub Desktop.
Save ryanking/69111 to your computer and use it in GitHub Desktop.
trace the system calls for a set of processes
strace -cp `ps ax | grep [h]ttpd | awk '{ print $1 }' | tr '\n' ',' | sed 's/,/ -p /g'` -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment