Disk read v. write stats

Aditya aditya at grot.org
Thu Apr 15 20:20:08 PDT 2004


> On Thu, 15 Apr 2004 14:08:08 -0500, "Jim C. Nasby" <jim at nasby.net> said:
> Is there any way to get stats on reads v. writes to a filesystem or
> raw device? Something like vmstat or iostat, but broken down by read
> and write requests.

I asked the same question on questions a day ago and for FreeBSD 4,
Dan Nelson provided some patches for iostat to add the read/write stats:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/043644.html

gstat does work for FreeBSD 5 but unfortunately it doesn't print
simple text output that can be used to collect long term stats via a
script...

Thanks,
Adi



More information about the freebsd-performance mailing list