Bug #11692
openptools should see more process arguments
0%
Description
http://smartos.org/bugview/OS-3513
Both versions of ps and pgrep could be changed to show the whole current process arguments when requested.
Related issues
Updated by John Levon almost 3 years ago
Updated by John Levon almost 3 years ago
Testing done (mostly on illumos-joyent with some re-verifying):
pgrep -d, postgres
pgrep -ld, postgres
pgrep -fl postgres, check output is modified args where necessary
pgrep -x with/without -f
pgrep -f is stripping trailing blanks
pgrep output of non-control chars, junk etc. (argv-junk.c)
pgrep with very long argv
pgrep with SHORT_PSARGS set
pkill as above
process with > 4096 argv0 string as well as total longer, shorter argv0, verify output
ps output of non-control chargs (argv-junk.c)
ps -ef output with changed argv
ps -e output
ps with SHORT_PSARGS
ps aux, auxw, auxww behave as expected with large and small terminals
ps -o pid,comm,fname,args
pargs -e, not -e sanity check
test of cmdline file, ps, top, etc. in an lx zone
cat /proc/*/cmdline - including zsched, sched, etc.
check zone filtering of /proc/*/cmdline works as expected
Updated by Joshua M. Clulow almost 3 years ago
- Blocks Feature #11786: default ps argument style could come from configuration file added