Quote:
Originally Posted by NullNix
Yeah, ps just reads /proc/$pid/cmdline, and that is hardwired to display at most one page of output (see fs/proc/base.c  roc_pid_cmdline() in the kernel source). Suboptimal really, but nobody's souped it up to iterate across the full command line yet.
|
Indeed.
That issue has seen a lot of discussion over time.
The current position is: "Move your output to the /sys tree if you need more than a single page 'copy-to-user-space' "
auFS had to move out of /proc into /sys because of the size limitation, for instance.