Gathering statistics on disk usage

Dan Nelson dnelson at allantgroup.com
Sat Oct 15 10:40:29 PDT 2005


In the last episode (Oct 15), Josh Paetzel said:
> > If you apply the patch at
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68840, you will be
> > able to get %busy stats out of iostat.
> 
> Thanks for your quick reply.  Unfortunately your patch does not apply
> cleanly to a 4.11-STABLE box.  I can supply iostat.c.rej if you want
> it.  I also tried it on a 5.4-RELENG-p7 box and it failed there as
> well.

It definitely should have applied cleanly on 5.4.  I just tested it.
Try downloading the "Raw PR" link at the bottom of the page; that will
remove any html-escaping.  The patch won't work on 4.x because the
devstat interface got overhauled between 4.x and 5.x.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list