Any Linux user can trace an executable with strace.
What Isstrace?
strace is a Linux utility that lets you trace the system calls that a given app makes.
It will also pick up on signals and produce a detailed output of all the information that it observes.
A person new to strace and tracing, in general, might ask why this is helpful.
There’s good news in both cases!
Comparing this with GDB, which is also a wrapper process, things are substantially different.
With strace, it’s possible for you to simply execute the program understrace(i.e.
Especially in the areas of disk access,stracereally shines.
As it records all system calls, every disk access is very visible in the log.
Just this single line of output could lead to further research.
It’s easily analyzed and likely easily fixed thanks tostrace.
An exit code of 0 generally indicates successful execution and termination in Linux programs.