/usr/local/bin/tusc -T "%T" -afpvkuE -o tusc.log [command] -a print all exec parameters -f follow forks. -p print pids. -v Verbose. -k keep tracing after man process exits. -u user thread IDs. -E show syscall entries.It collect all the data it needs when the system call returns.
顺便说一下strace的使用方法。
strace -f -s 1024 -o /tmp/strace.log -p <pid>
-f follow forks -s buffer size -o output file -p attach pid