diff options
| author | thorpej <thorpej@NetBSD.org> | 2001-05-01 19:36:56 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2001-05-01 19:36:56 +0000 |
| commit | 01e2971ba229c8a22dcdef41efa096f7582cebbd (patch) | |
| tree | 77559e5e0c4ccd908c7d3d49718a0ba001e3f5b5 /usr.bin/vmstat | |
| parent | 7141c87f89d9b3033ae184760bea0ae4c2b987d4 (diff) | |
Add the number of page colors to uvmexp.
Diffstat (limited to 'usr.bin/vmstat')
| -rw-r--r-- | usr.bin/vmstat/vmstat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 439a0b4970d..482609d4054 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: vmstat.c,v 1.79 2001/04/29 05:56:47 thorpej Exp $ */ +/* $NetBSD: vmstat.c,v 1.80 2001/05/01 19:36:58 thorpej Exp $ */ /*- * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -80,7 +80,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1986, 1991, 1993\n\ #if 0 static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 3/1/95"; #else -__RCSID("$NetBSD: vmstat.c,v 1.79 2001/04/29 05:56:47 thorpej Exp $"); +__RCSID("$NetBSD: vmstat.c,v 1.80 2001/05/01 19:36:58 thorpej Exp $"); #endif #endif /* not lint */ @@ -605,6 +605,8 @@ dosum(void) uvmexp.colorhit); (void)printf("%9u pagealloc desired color not avail\n", uvmexp.colormiss); + (void)printf("%9u page color%s\n", + uvmexp.ncolors, uvmexp.ncolors == 1 ? "" : "s"); (void)printf("%9u faults with no memory\n", uvmexp.fltnoram); (void)printf("%9u faults with no anons\n", uvmexp.fltnoanon); |
