strace
Installation
SKILL.md
Identity
| Property | Value |
|---|---|
| Binary | strace |
| Config | No persistent config — invoked directly |
| Logs | No persistent logs — output to terminal |
| Type | CLI tool |
| Install | apt install strace / dnf install strace |
Key Operations
| Task | Command |
|---|---|
| Trace a new process from launch | strace cmd arg1 arg2 |
| Attach to a running PID | strace -p 1234 |
| Follow child processes (threads, forks) | strace -f cmd |
| Filter to specific syscalls | strace -e trace=open,read,write cmd |
| Trace all file-related syscalls | strace -e trace=file cmd |
Related skills