April 2016
Beginner to intermediate
276 pages
5h 32m
English
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.
This a command-line tool that can be also used as a diagnostic or debugging tool. strace monitors the interaction between processes and the Linux kernel and is helpful when we want to debug the execution of any program.
This tool is available for all Linux-based systems by default. Hence, nothing else needs to be configured to start using strace.
Let's see how strace can be used in various ways to trace the execution of any program from start to end.