strace runs a command, or attaches to a running process, and prints each system call with its arguments and return value. It relies on ptrace, so a traced process runs slower.