Strace for php-fpm processes

live stream syscalls output:

strace -s 1024 -f $(pidof php-fpm | sed ‘s/([0-9]*)/-p 1/g’)

 

report syscalls count output:

strace -s 1024 -f $(pidof php-fpm | sed ‘s/([0-9]*)/-p 1/g’) -c

 

Another more beatifull way to strace:

Author: GergunD

Leave a Reply