From ecd5ab2aa9b09707fe715c0e486dbdb021636ffe Mon Sep 17 00:00:00 2001 From: Pedro Martelletto Date: Wed, 28 Sep 2005 00:54:06 +0000 Subject: make -s print information about kmapent as well, reminded by deraadt@ --- usr.bin/vmstat/vmstat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin/vmstat/vmstat.c') diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index d989e1a0fd9..c4758c4a69f 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1,5 +1,5 @@ /* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */ -/* $OpenBSD: vmstat.c,v 1.96 2005/07/04 01:54:10 djm Exp $ */ +/* $OpenBSD: vmstat.c,v 1.97 2005/09/28 00:54:05 pedro Exp $ */ /* * Copyright (c) 1980, 1986, 1991, 1993 @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)vmstat.c 8.1 (Berkeley) 6/6/93"; #else -static const char rcsid[] = "$OpenBSD: vmstat.c,v 1.96 2005/07/04 01:54:10 djm Exp $"; +static const char rcsid[] = "$OpenBSD: vmstat.c,v 1.97 2005/09/28 00:54:05 pedro Exp $"; #endif #endif /* not lint */ @@ -576,6 +576,7 @@ dosum(void) (void)printf("%11u forks\n", uvmexp.forks); (void)printf("%11u forks where vmspace is shared\n", uvmexp.forks_sharevm); + (void)printf("%11u kernel map entries\n", uvmexp.kmapent); /* daemon counters */ (void)printf("%11u number of times the pagedaemon woke up\n", -- cgit v1.2.3