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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to