- add option 'w' to ps (wide output, optional feature defaults to off).

- move to ENABLE_ and use shorter boilerplate.

sizes without selinux-support:
   text	   data	    bss	    dec	    hex	filename
    356	      0	      0	    356	    164	procps/ps.o.with-w
    300	      0	      0	    300	    12c	procps/ps.o.no-w
    302	      0	      0	    302	    12e	procps/ps.o.oorig
This commit is contained in:
Bernhard Reutner-Fischer
2005-10-04 14:31:18 +00:00
parent 5209e18ba7
commit 6d6a40cc4b
3 changed files with 48 additions and 39 deletions

View File

@@ -43,6 +43,15 @@ config CONFIG_PS
help
ps gives a snapshot of the current processes.
config CONFIG_FEATURE_PS_WIDE
bool " Enable argument for wide output (-w)"
default n
depends on CONFIG_PS
help
Support argument 'w' for wide output.
If given once, 132 chars are printed and given more than
one, the length is unlimited.
config CONFIG_RENICE
bool "renice"
default n