Created
April 1, 2020 19:06
-
-
Save dominiksalvet/1febd9ba78e8e2bb294438ebce78aa55 to your computer and use it in GitHub Desktop.
Monitor system calls of a process on Linux
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
| #!/bin/sh | |
| # trace system calls of process and its forks | |
| strace -f -p "$1" 2>&1 # PID should be in $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment