Date: Tue, 19 Aug 2008 21:33:09 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/vmstat vmstat.c src/usr.sbin/iostat iostat.c Message-ID: <200808192137.m7JLbc98014457@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-08-19 21:33:09 UTC
FreeBSD src repository
Modified files:
usr.bin/vmstat vmstat.c
usr.sbin/iostat iostat.c
Log:
SVN rev 181881 on 2008-08-19 21:33:09Z by jhb
Use kvm_getcptime(3) to fetch the global CPU time stats from a crashdump
since the 'cp_time' symbol doesn't exist in recent kernels. This fixes
iostat and vmstat on crash dumps.
MFC after: 1 week
Revision Changes Path
1.102 +14 -15 src/usr.bin/vmstat/vmstat.c
1.42 +14 -8 src/usr.sbin/iostat/iostat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808192137.m7JLbc98014457>
