ps: add conditional support for -o [e]time

This commit is contained in:
Denis Vlasenko
2008-01-05 03:26:41 +00:00
parent 9cd30d30a0
commit 5fee2e1a79
5 changed files with 195 additions and 49 deletions

View File

@@ -99,6 +99,21 @@ config FEATURE_PS_WIDE
If given once, 132 chars are printed and given more than
one, the length is unlimited.
config FEATURE_PS_TIME
bool "Enable time and elapsed time output"
default n
depends on PS && DESKTOP
help
Support -o time and -o etime output specifiers.
config FEATURE_PS_UNUSUAL_SYSTEMS
bool "Support Linux prior to 2.4.0 and non-ELF systems"
default n
depends on FEATURE_PS_TIME
help
Include support for measuring HZ on old kernels and non-ELF systems
(if you are on Linux 2.4.0+ and use ELF, you don't need this)
config RENICE
bool "renice"
default n