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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux