Project

General

Profile

Bug #11692

ptools should see more process arguments

Added by John Levon 11 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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

Blocks illumos gate - Feature #11786: default ps argument style could come from configuration fileNew

Actions

History

#2

Updated by John Levon 10 months 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
#3

Updated by Joshua M. Clulow 10 months ago

  • Blocks Feature #11786: default ps argument style could come from configuration file added
#4

Updated by Electric Monk about 1 month ago

  • Gerrit CR set to 123

Also available in: Atom PDF