Subject: CVS commit: src/usr.bin
To: None <>
From: David Laight <>
List: source-changes
Date: 02/05/2006 09:54:50
Module Name:	src
Committed By:	dsl
Date:		Sun Feb  5 09:54:50 UTC 2006

Modified Files:
	src/usr.bin/systat: vmstat.c
	src/usr.bin/vmstat: dkstats.c dkstats.h vmstat.c

Log Message:
Split dkreadstats() into dkreadstats(), tkreadstats() and cpureadstats().
Similarly for dkswap().
Allows code to only call one of these.
Rename struct _disk to _vminfo to be nearer its contents.
Change 'systat vm' so that it always shows the 'current' cpu times, even
after ':run' or ':boot' commands. The code in vmstat.c doesn't support :run.

To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 src/usr.bin/systat/vmstat.c
cvs rdiff -r1.22 -r1.23 src/usr.bin/vmstat/dkstats.c
cvs rdiff -r1.6 -r1.7 src/usr.bin/vmstat/dkstats.h
cvs rdiff -r1.138 -r1.139 src/usr.bin/vmstat/vmstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.