How to use strace for a daemon with multiple processes, including children
Sometimes when you are running Linux and have a weird bug, you wish you would know what the process is doing. For example, which files it is opening and such ...
The strace command is very useful.
Use case 1: Simple command as argument
However, its common use cases is when you have a single process running. Usually, you would run strace and your command as an argument, like so:
strace your_program
Most Comments
Most commented on articles ...