Chapter 8
Security Monitoring and Logging
Section 5
Using System Tools – strace
When running any command or program on our Linux machine, you might wonder what the background working of it is. For this, we have a very useful tool in Linux called strace. In this video, let's see how strace can be used in various ways to trace the execution of any program from start to end. - Use the –c option to have a statistical summary of the strace command - Use –e option to show only a specific call - Use the –o option to save the output of the strace command in a file