Created
April 11, 2017 14:13
-
-
Save ajbonner/d270dd4c7989e5650332de5fd811bd3c to your computer and use it in GitHub Desktop.
Strace all running php-fpm processes to file with timestamps and pid
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
sudo strace -f -tt -o /tmp/php.trace -s1024 -p `pgrep -f php-fpm | tr '\n' ','` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment