I started the chapter with the simple and ubiquitous tool,
top, and I will finish with another:
strace. It is a very simple tracer that captures system calls made by a program and, optionally, its children. You can use it to do the following:
straceshows the failing syscall.
There are many more examples online, just search for
strace tips and tricks. Everybody has their ...