Both strace and ltrace are powerful command-line tools for debugging and troubleshooting programs on Linux: Strace captures and records all system calls made by a process as well as the signals ...
The ps and top commands only give you a bird's eye view of what's going on. But strace will let you peer into a process' inner workings. The strace utility is a lightweight debugger. It allows you to ...