[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



> I'm experimenting with a SuSE 9.2 boot CD, and I'm trying to determine
> the disk i/o rate.  I would normally use iostat -d for this, but
> iostat is not part of the boot CD.
> 
> With the SuSE 2.6.9 kernel I can see what may be interesting numbers
> in  /sys/block/hdc/stat.
> 
> I think that total sectors read/written etc. since boot may be sitting
> there in one of the numerous fields, but I don't know.
> 
> If is, so a could look at this file(?) 100 seconds apart, /divide the
> difference in sectors by 100 and have a pretty good idea of i/o rate.
> 
> Anybody know whats in /sys/block/hdc/stat?  Or know a different way to
> get i/o rates?
> 
 
The info you seek can be found in the kernel source under
Documentation/iostats.txt:

<a  rel="nofollow" href="http://lxr.linux.no/source/Documentation/iostats.txt";>http://lxr.linux.no/source/Documentation/iostats.txt</a>

--Joe



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00685" href="msg00685.html">[ale] where is /sys/block/hdc/stat defined?</a></strong>
<ul><li><em>From:</em> greg.freemyer at gmail.com (Greg Freemyer)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00710.html">[ale] Sunday 05-22-05 6PM RUN-AS-ROOT CHALLENGE</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00712.html">[ale] Sunday 05-22-05 6PM RUN-AS-ROOT CHALLENGE</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00685.html">[ale] where is /sys/block/hdc/stat defined?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00742.html">[ale] Load?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00711"><strong>Date</strong></a></li>
<li><a href="threads.html#00711"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>