strace Command Examples

Troubleshooting tool for tracing system calls. More information: https://manned.org/strace.

strace -p {{pid}}

strace -p {{pid}} -e {{system_call,system_call2,...}}

strace -p {{pid}} -c

strace -p {{pid}} -T

strace {{program}}

strace -e trace=file {{program}}

strace -f -e trace=network -o {{trace.txt}} {{program}}