Inspect syscalls made by a process or command.
Section: Performance Monitoring and Troubleshooting
Trace system calls
bash
bash
strace -p 12345Explanation
Powerful for seeing what a stuck or failing process is trying to do.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Performance Monitoring and Troubleshooting