path: root/contrib/top/top.X
diff options
authorStanislav Sedov <stas@FreeBSD.org>2007-04-14 10:16:52 +0000
committerStanislav Sedov <stas@FreeBSD.org>2007-04-14 10:16:52 +0000
commitfaac60c8fcc31dcc5cbd4bd575a00cea18c42d7d (patch)
tree27e5b3664f0b327277d5e828d295b654d2d94fb5 /contrib/top/top.X
parentc105859eee3baab0b07645e4ec8de56ce06d97f5 (diff)
- 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
Notes: svn path=/head/; revision=168710
Diffstat (limited to 'contrib/top/top.X')
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/top/top.X b/contrib/top/top.X
index ff1a1d9aca86..304ee91e2b6f 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
.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.
+.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.
.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.