Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2004 15:02:25 -0400
From:      Aditya <aditya@grot.org>
To:        questions@freebsd.org
Subject:   read/write disk bandwidth monitoring?
Message-ID:  <20040414190225.GF34327@mighty.grot.org>

next in thread | raw e-mail | index | archive | help
iostat can provide an aggregate number for transactions per second and Bytes
per transaction for a given device, but if it is a block device, is there a
counter accessible from iostat or elsewhere that I can see how much is read
transactions versus write transactions?

> iostat -K -d -I 1
             ad0              ad2              da0            pass0
  KB/t xfrs   MB   KB/t xfrs   MB   KB/t xfrs   MB   KB/t xfrs   MB
  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0.00   0  0.00
  7.50   8  0.06   0.00   0  0.00   0.00   0  0.00   0.00   0  0.00
  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0.00   0  0.00
  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0.00   0  0.00
^C

tells me transactions per device, but not divided into reads versus writes...

Adi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040414190225.GF34327>