top: add -m ("memory") option

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2009-09-11 23:26:42 +02:00
parent 56573cb4f7
commit 0052882200
4 changed files with 86 additions and 57 deletions

View file

@ -4566,7 +4566,7 @@
"Defaults: SECS: 10, SIG: TERM." \
#define top_trivial_usage \
"[-b] [-nCOUNT] [-dSECONDS]"
"[-b] [-nCOUNT] [-dSECONDS]" IF_FEATURE_TOPMEM(" [-m]")
#define top_full_usage "\n\n" \
"Provide a view of process activity in real time.\n" \
"Read the status of all processes from /proc each SECONDS\n" \