yum install strace

strace常用选项

从一个示例命令来看 strace -tt -T -v -f -e trace=file -o /data/log/strace.log -s 1024 -p 23489