strace观察php的运行原理

qcy-blog / 2024-10-07 / 原文

文件

 strace -e trace=file php 脚本.php

进程id

strace -f -s 6555 -p 进程id

查看进程树

pstree -p 进程id
pstree -p | grep php