Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Linux Discussion »

Fixed buffer size for /proc/<pid>/cmdline and not able to see the
 full command line argument string for a process.

Rodrick Brown

2008-03-03


Author LoginPost Reply
Its seems the max buffer size for /proc/<pid>/cmdline is 4096 bytes is
there any other way to pull the full command line argument out of the
kernel for a particular process? Obviously the kernel is able to read
the full command line string without any problems but its only writing
the first 4096 bytes to /proc/pid/cmdline



$ cat /proc/29378/cmdline | wc -c

4096



---

Rodrick R. Brown

Ballista Securities LLC

120 Wall St. Suite 2400

C: 347 702 0012 | O: 646 307 4709

http://www.ballistasec.com



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)
https://www.redhat.com/mailman/listinfo/redhat-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.