From owner-cvs-src@FreeBSD.ORG Mon Jul 25 22:35:11 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60FEF16A41F; Mon, 25 Jul 2005 22:35:11 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F44243D46; Mon, 25 Jul 2005 22:35:11 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6PMZBLo068413; Mon, 25 Jul 2005 22:35:11 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6PMZAZo068412; Mon, 25 Jul 2005 22:35:11 GMT (envelope-from rwatson) Message-Id: <200507252235.j6PMZAZo068412@repoman.freebsd.org> From: Robert Watson Date: Mon, 25 Jul 2005 22:35:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/vmstat Makefile vmstat.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2005 22:35:11 -0000 rwatson 2005-07-25 22:35:10 UTC FreeBSD src repository Modified files: usr.bin/vmstat Makefile vmstat.c Log: Teach vmstat -m and vmstat -z to use libmemstat(3). Certain statistics from -z are now a bit different due to changes in the way statistics are now measured. Reproduce with some amount of accuracy the slightly obscure layouts adopted by the two kernel sysctls. In the future, we might want to normalize them. GC dosysctl(), which is now no longer used. MFC after: 1 week Revision Changes Path 1.12 +2 -2 src/usr.bin/vmstat/Makefile 1.87 +94 -21 src/usr.bin/vmstat/vmstat.c