Tracking if disk is busy

Tamouh H. hakmi at rogers.com
Fri Jun 23 00:48:49 UTC 2006


 
> 
> In the last episode (Jun 22), Matt Ruzicka said:
> > We've got a couple servers that appear to have particularly 
> busy disks 
> > and I was trying to determine if there is a way to more easily poll 
> > this data for tracking.
> > 
> > I'm not sure if this is one of those can't see the forest for the 
> > trees issues or not, but the only means that I am familiar 
> with to see 
> > the percentage of time the disk is busy is to run 'systat 
> -vmstat'.  I 
> > was hoping for something more concise that I could run periodically 
> > and maybe even graph (realizing that watching this might 
> well distort 
> > the results).
> > 
> > It appears that iostat on Solaris gives this information, 
> but I can't 
> > seem to mimic this functionality with FreeBSD.
> 
> iostat on -current and 6-stable has a Solaris-style -x mode 
> with a percent-busy column.
> 
> -- 

Use : 

systat -vm 1    

that will give you all the info u need, you can also try:

systat -io 1 '%busy'



More information about the freebsd-questions mailing list