Skip to content

Instantly share code, notes, and snippets.

@derekbassett
Created January 30, 2020 18:41
Show Gist options
  • Save derekbassett/61cf21528f51d71a0b5549c12edf668c to your computer and use it in GitHub Desktop.
Save derekbassett/61cf21528f51d71a0b5549c12edf668c to your computer and use it in GitHub Desktop.
using strace on multiple processes in linux
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