Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/usr.bin/vmstat/vmstat.c,v rcsdiff: /ftp/cvs/cvsroot/src/usr.bin/vmstat/vmstat.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.186 retrieving revision 1.186.2.2 diff -u -p -r1.186 -r1.186.2.2 --- src/usr.bin/vmstat/vmstat.c 2011/10/15 21:59:48 1.186 +++ src/usr.bin/vmstat/vmstat.c 2011/11/14 14:27:53 1.186.2.2 @@ -1,4 +1,4 @@ -/* $NetBSD: vmstat.c,v 1.186 2011/10/15 21:59:48 christos Exp $ */ +/* $NetBSD: vmstat.c,v 1.186.2.2 2011/11/14 14:27:53 yamt Exp $ */ /*- * Copyright (c) 1998, 2000, 2001, 2007 The NetBSD Foundation, Inc. @@ -70,7 +70,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19 #if 0 static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 3/1/95"; #else -__RCSID("$NetBSD: vmstat.c,v 1.186 2011/10/15 21:59:48 christos Exp $"); +__RCSID("$NetBSD: vmstat.c,v 1.186.2.2 2011/11/14 14:27:53 yamt Exp $"); #endif #endif /* not lint */ @@ -892,6 +892,18 @@ dosum(void) if (active_kernel) { (void)printf("%9" PRIu64 " pages active\n", uvmexp2.active); (void)printf("%9" PRIu64 " pages inactive\n", uvmexp2.inactive); + (void)printf("%9" PRIu64 " file pages known clean\n", + uvmexp2.cleanpages); + (void)printf("%9" PRIu64 " file pages possibly dirty\n", + uvmexp2.possiblydirtypages); + (void)printf("%9" PRIu64 " file pages known dirty\n", + uvmexp2.dirtypages); + (void)printf("%9" PRIu64 " anonymous pages known clean\n", + uvmexp2.cleananonpages); + (void)printf("%9" PRIu64 " anonymous pages possibly dirty\n", + uvmexp2.possiblydirtyanonpages); + (void)printf("%9" PRIu64 " anonymous pages known dirty\n", + uvmexp2.dirtyanonpages); } (void)printf("%9u pages paging\n", uvmexp.paging); (void)printf("%9u pages wired\n", uvmexp.wired);