Created
February 23, 2009 19:08
-
-
Save ryanking/69111 to your computer and use it in GitHub Desktop.
trace the system calls for a set of processes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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