strace系统调用

https://strace.io/

linux strace 在线手册 https://man7.org/linux/man-pages/man1/strace.1.html

应用程序调用操作系统提供的函数库或函数 system call

-s strsize

–string-limit=_strsize_

Specify the maximum string size to print (the default is

32). Note that filenames are not considered strings and

are always printed in full.

-f

–follow-forks

Trace child processes as they are created by currently

traced processes as a result of the fork(2), vfork(2) and

clone(2) system calls. Note that -p PID -f will attach

all threads of process PID if it is multi-threaded, not

only thread with thread_id = PID.