Skip to content

Instantly share code, notes, and snippets.

@hershkoy
Last active June 18, 2021 10:31
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 hershkoy/2b353b9a01e82b48b16054003b81951c to your computer and use it in GitHub Desktop.
Save hershkoy/2b353b9a01e82b48b16054003b81951c to your computer and use it in GitHub Desktop.
Strace example (on php-fpm)
mkdir strace_210618
cd strace_210618
ps aux | grep fpm
strace -o fpm.txt -ffF -ttT -p <pid1,pid2,pid3....>
strace-log-merge fpm.txt > fpm_sorted.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment