Hi,
You can use the strace command. It tracks system calls and signals involving the process.
Code:
strace COMMAND (will print results on stdout: command line)
strace -o LOGFILE COMMAND (will print results in the text file LOGFILE)
e.g
Code:
strace -o strace_ls.log ls -l
So, for the executable you will do this, assuming you are in the directory where the executable is found:
Code:
strace -o YOURLOGFILE ./EXECUTABLE