---

Strace: How to Trace processes smart

Strace means system trace. It is a debugging utility in Linux to monitor the system calls used by a program and all the signals it receives. It can do many things like:

* Filter based on the specific system call or groups of system calls
* Profile the use of system calls by tallying up the number of times a specific system call is used, and the time taken, and the number of successes and errors.
* It traces signals sent to the process.
* It can attach to any running process by pid.