I am trying to use strace to find out what commands the program executes using execve . Some of the arguments in these commands are quite long, and strace is an abbreviation of execve arguments (I see "..." after about 30 characters), preventing me from getting any useful information. How can I get the full text of each argument?
I read the man page. The -v option prints an environment that is useful, but the arguments are still truncated.
strace -f -e trace=execve -v -p 1234
I also tried passing verbose = all, but that just gives additional information about SIGCHLD.
strace -f -e verbose=all trace=execve -v -p 1234
linux strace
Jay Conrod Jul 13 '11 at 0:15 2011-07-13 00:15
source share