Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/vmstat Print print color bucket hit/miss stats.



details:   https://anonhg.NetBSD.org/src/rev/98657880bf88
branches:  trunk
changeset: 509193:98657880bf88
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Apr 29 05:56:47 2001 +0000

description:
Print print color bucket hit/miss stats.

diffstat:

 usr.bin/vmstat/vmstat.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r d0aecbce1525 -r 98657880bf88 usr.bin/vmstat/vmstat.c
--- a/usr.bin/vmstat/vmstat.c   Sun Apr 29 05:56:20 2001 +0000
+++ b/usr.bin/vmstat/vmstat.c   Sun Apr 29 05:56:47 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.78 2001/04/05 20:04:03 jhawk Exp $ */
+/* $NetBSD: vmstat.c,v 1.79 2001/04/29 05:56:47 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
 #if 0
 static char sccsid[] = "@(#)vmstat.c   8.2 (Berkeley) 3/1/95";
 #else
-__RCSID("$NetBSD: vmstat.c,v 1.78 2001/04/05 20:04:03 jhawk Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.79 2001/04/29 05:56:47 thorpej Exp $");
 #endif
 #endif /* not lint */
 
@@ -601,6 +601,10 @@
            uvmexp.pga_zeromiss);
        (void)printf("%9u aborts of idle page zeroing\n",
            uvmexp.zeroaborts);
+       (void)printf("%9u pagealloc desired color avail\n",
+           uvmexp.colorhit);
+       (void)printf("%9u pagealloc desired color not avail\n",
+           uvmexp.colormiss);
 
        (void)printf("%9u faults with no memory\n", uvmexp.fltnoram);
        (void)printf("%9u faults with no anons\n", uvmexp.fltnoanon);



Home | Main Index | Thread Index | Old Index