TBD
Strace is the tool that traces the execution of system calls. Strace allows you to analyse what your processes are doing at any time with no need of re-compiling, re-running/running in front the processes.The syntax to use strace is:
strace -p <pid>
If the process to be monitored is multithreaded, you need to run strace with multiple pid’s as argument else you will get following output (if you try to run it with just parent id as argument),
[root@upi1 bin]# strace -p 24866
Process 24866 attached – interrupt to quit
futex(0xa280a0c, FUTEX_WAIT, 1, NULL