diff options
author | stas <stas@FreeBSD.org> | 2007-04-14 10:16:52 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2007-04-14 10:16:52 +0000 |
commit | b2e4c77a02a90972acaa19099d19be9f1dffa3a3 (patch) | |
tree | 27e5b3664f0b327277d5e828d295b654d2d94fb5 /contrib/top/top.X | |
parent | fb6f6fd9a183da8573afa302e42cdf7684785a7d (diff) | |
download | FreeBSD-src-b2e4c77a02a90972acaa19099d19be9f1dffa3a3.zip FreeBSD-src-b2e4c77a02a90972acaa19099d19be9f1dffa3a3.tar.gz |
- Add new 'a' switch and runtime option that allows 'top' to display process
titles extracted from argv vector instead of the real executable names.
This is useful when you want to watch applications that set their status
information via setproctitle(3).
Approved by: alfred
MFC after: 2 weeks
Diffstat (limited to 'contrib/top/top.X')
-rw-r--r-- | contrib/top/top.X | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/top/top.X b/contrib/top/top.X index ff1a1d9..304ee91 100644 --- a/contrib/top/top.X +++ b/contrib/top/top.X @@ -10,7 +10,7 @@ top \- display and update information about the top cpu processes .SH SYNOPSIS .B top [ -.B \-bCHIinqStuv +.B \-abCHIinqStuv ] [ .BI \-d count ] [ @@ -78,6 +78,12 @@ the \*(lqWCPU\*(rq column respectively. Show system processes in the display. Normally, system processes such as the pager and the swapper are not shown. This option makes them visible. .TP +.B \-a +Display command names derived from the argv[] vector, rather than real +executable name. It's useful when you want to watch applications, that +puts their status information there. If the real name differs from argv[0], +it will be displayed in parenthesis. +.TP .B \-b Use \*(lqbatch\*(rq mode. In this mode, all input from the terminal is ignored. Interrupt characters (such as ^C and ^\e) still have an effect. |