Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/top Turn -S (display of system processes) on by defa...



details:   https://anonhg.NetBSD.org/src/rev/f967226c9fae
branches:  trunk
changeset: 511565:f967226c9fae
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu Jun 21 21:27:50 2001 +0000

description:
Turn -S (display of system processes) on by default.
If they are using so much CPU that they would be in the top 10 (or so)
they should be shown. Ok'd by christos.

diffstat:

 usr.bin/top/top.1 |  4 ++--
 usr.bin/top/top.X |  4 ++--
 usr.bin/top/top.c |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (46 lines):

diff -r 394a4d4b72b7 -r f967226c9fae usr.bin/top/top.1
--- a/usr.bin/top/top.1 Thu Jun 21 21:19:25 2001 +0000
+++ b/usr.bin/top/top.1 Thu Jun 21 21:27:50 2001 +0000
@@ -60,8 +60,8 @@
 .SH OPTIONS
 .TP
 .B \-S
-Show system processes in the display.  Normally, system processes such as
-the pager and the swapper are not shown.  This option makes them visible.
+Toggle displaying of system processes.  Normally, system processes such as
+the pager and the swapper are shown.
 .TP
 .B \-b
 Use \*(lqbatch\*(rq mode.  In this mode, all input from the terminal is
diff -r 394a4d4b72b7 -r f967226c9fae usr.bin/top/top.X
--- a/usr.bin/top/top.X Thu Jun 21 21:19:25 2001 +0000
+++ b/usr.bin/top/top.X Thu Jun 21 21:27:50 2001 +0000
@@ -60,8 +60,8 @@
 .SH OPTIONS
 .TP
 .B \-S
-Show system processes in the display.  Normally, system processes such as
-the pager and the swapper are not shown.  This option makes them visible.
+Toggle displaying of system processes in the display.  Normally, system
+processes such as the pager and the swapper are shown.
 .TP
 .B \-b
 Use \*(lqbatch\*(rq mode.  In this mode, all input from the terminal is
diff -r 394a4d4b72b7 -r f967226c9fae usr.bin/top/top.c
--- a/usr.bin/top/top.c Thu Jun 21 21:19:25 2001 +0000
+++ b/usr.bin/top/top.c Thu Jun 21 21:27:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: top.c,v 1.9 2001/06/20 19:56:35 christos Exp $ */
+/*     $NetBSD: top.c,v 1.10 2001/06/21 21:27:51 wiz Exp $     */
 
 char *copyright =
     "Copyright (c) 1984 through 1996, William LeFebvre";
@@ -189,7 +189,7 @@
 
     /* initialize some selection options */
     ps.idle    = Yes;
-    ps.system  = No;
+    ps.system  = Yes;
     ps.uid     = -1;
     ps.command = NULL;
 



Home | Main Index | Thread Index | Old Index