Skip to content

Linux - Troubleshooting: SysCall

Strace

Trace system call of a process:

strace -f -p {process}
# -f: display forked process

Trace system call of a command:

strace {command}
# Example: strace ip a 

Trace network calls of a curl request:

strace -f -e trace=network 2>&1 curl -k http://m2ko.net
Back to top