Skip to content

Instantly share code, notes, and snippets.

@parsibox
Last active July 7, 2019 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parsibox/f9ba9896e2ec92379738c5163aa2c80a to your computer and use it in GitHub Desktop.
Save parsibox/f9ba9896e2ec92379738c5163aa2c80a to your computer and use it in GitHub Desktop.
php-fpm-cpu - test Wait a while, then hit Ctr-C
sudo strace -f $(pidof php-fpm | sed 's/\([0-9]*\)/\-p \1/g')
sudo strace -c -f $(pidof php-fpm | sed 's/\([0-9]*\)/\-p \1/g')
@parsibox
Copy link
Author

parsibox commented Jul 7, 2019

yum install -y strace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment