Created
January 30, 2020 18:41
-
-
Save derekbassett/61cf21528f51d71a0b5549c12edf668c to your computer and use it in GitHub Desktop.
using strace on multiple processes in linux
This file contains 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
function straceall { | |
sudo strace -f $(pidof "${1}" | sed 's/\([0-9]*\)/-p \1/g') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment