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 number of pages used by executables now ...



details:   https://anonhg.NetBSD.org/src/rev/752dc6b85781
branches:  trunk
changeset: 506937:752dc6b85781
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Mar 09 02:42:23 2001 +0000

description:
Show number of pages used by executables now that they're are counted
by UVM.

diffstat:

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

diffs (26 lines):

diff -r 0a1181ccab52 -r 752dc6b85781 usr.bin/vmstat/vmstat.c
--- a/usr.bin/vmstat/vmstat.c   Fri Mar 09 01:02:10 2001 +0000
+++ b/usr.bin/vmstat/vmstat.c   Fri Mar 09 02:42:23 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.76 2001/01/27 11:10:18 enami Exp $ */
+/* $NetBSD: vmstat.c,v 1.77 2001/03/09 02:42:23 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.76 2001/01/27 11:10:18 enami Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.77 2001/03/09 02:42:23 simonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -550,6 +550,7 @@
        (void)printf("%9u reserve kernel pages\n", uvmexp.reserve_kernel);
        (void)printf("%9u anon pager pages\n", uvmexp.anonpages);
        (void)printf("%9u vnode page cache pages\n", uvmexp.vnodepages);
+       (void)printf("%9u executable pages\n", uvmexp.vtextpages);
 
        (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