getting full output from strace, abbrev=none doesn't seem to work

Haszlakiewicz, Eric EHASZLA at transunion.com
Thu Oct 22 16:12:53 UTC 2009


I'm trying to get strace to produce the full command line output for a
command, but no matter what I try it always truncates the arguments to
execve.
Is there a way to get this to work right?  An example command that I'm
trying is:

strace -f -v -e verbose=execve -e abbrev=none -o bbb ls
/some/really/long/path/name/that/gets/truncated

I've tried this on RHEL4.2 and RHEL5.3.  On RHEL4.2 I get:
8459  execve("/bin/ls", ["ls", "/some/really/long/path/name/that"...], 
(and then the environment settings)
on RHEL5.3 I get
20131 execve("/bin/ls", ["ls", "/some/really/long/path/name/that"],
(i.e. no indication that things got truncated at all)

eric




More information about the Strace-devel mailing list