Count syscall statistics strace
Summary table of syscall counts and time spent
strace -c -e trace=all python3 app.py
more strace
all 13 commands →
Follow child processes
strace -f -e trace=process nginx -t
Show timestamps
strace -tt -T curl https://example.com 2>&1 | head -40
Trace file access
strace -e trace=openat -e trace=file myapp 2>&1 | grep 'ENOENT'
Trace network syscalls
strace -e trace=network,socket curl https://example.com 2>&1 | grep -v '^---'
Syscall count summary
strace -c -f -S time -p <pid>