What is strace command?

view full story

http://lpilinux.com – strace is a debugging command in Linux to monitor the system calls used by a program and all the signals it receives, similar to truss command in other Unix systems. The most common usage is to start a program using strace, which prints a list of system calls made by the program. This is useful if the program continually crashes, or does not behave as expected; for example using strace command may reveal that the program is attempting to access a file, which does not exist or cannot be r (HowTos)