Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/vmstat Show anonpages and vnodepages in "vmstat -s".



details:   https://anonhg.NetBSD.org/src/rev/cb18ac6424c3
branches:  trunk
changeset: 499822:cb18ac6424c3
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Nov 30 11:50:15 2000 +0000

description:
Show anonpages and vnodepages in "vmstat -s".

diffstat:

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

diffs (27 lines):

diff -r 768a36691410 -r cb18ac6424c3 usr.bin/vmstat/vmstat.c
--- a/usr.bin/vmstat/vmstat.c   Thu Nov 30 11:31:05 2000 +0000
+++ b/usr.bin/vmstat/vmstat.c   Thu Nov 30 11:50:15 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.70 2000/09/28 14:56:52 sommerfeld Exp $ */
+/* $NetBSD: vmstat.c,v 1.71 2000/11/30 11:50:15 simonb 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.70 2000/09/28 14:56:52 sommerfeld Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.71 2000/11/30 11:50:15 simonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -564,6 +564,8 @@
        (void)printf("%9u reserve pagedaemon pages\n",
            uvmexp.reserve_pagedaemon);
        (void)printf("%9u reserve kernel pages\n", uvmexp.reserve_kernel);
+       (void)printf("%9u anon pager pages\n", uvmexp.anonpages);
+       (void)printf("%9u vnode data pages\n", uvmexp.vnodepages);
 
        (void)printf("%9u minimum free pages\n", uvmexp.freemin);
        (void)printf("%9u target free pages\n", uvmexp.freetarg);



Home | Main Index | Thread Index | Old Index