# record an strace output for process_name into /tmp/ strace -p $(pidof process_name) &> /tmp/process_name.strace