From owner-cvs-all Fri Nov 24 19:53:45 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 664DF37B479; Fri, 24 Nov 2000 19:53:43 -0800 (PST) Received: (from rwatson@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA12629; Fri, 24 Nov 2000 19:53:43 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Message-Id: <200011250353.TAA12629@freefall.freebsd.org> From: Robert Watson Date: Fri, 24 Nov 2000 19:53:43 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/systat vmstat.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG rwatson 2000/11/24 19:53:43 PST Modified files: usr.bin/systat vmstat.c Log: o Make systat/vmstat.c use sysctl() to retrieve cp_time, bufspace, maxvnodes, numvnodes, freevnodes, nchstats, and numdirtybuffers. o Make the hw.ncpu error checking code a little more rigorous by sanity checking the returned data size. o Didn't fix machine-dependent non-sysctl-exported variables: intrnames, eintrnames, intrcnt, eintrcnt, as these variables are defined and exported from machine-dependent kernel code in assembly. This should probably be fixed somehow. Revision Changes Path 1.41 +51 -30 src/usr.bin/systat/vmstat.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message