1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
<html>
<head>
<title>Diskstats moodss module.</title>
</head>
<body>
<p>This is a view of disks statistics for the system (provided you have a 2.0 or later kernel with the <i>proc</i> filesystem compiled in).
<p>Statistics are drawn from the <i>/proc/stat</i> file which supports up to 4 disks only, with SCSI having the highest priority. For example, if you have both a <i>hda</i> IDE and a <i>sda</i> SCSI disk, statistics will not be available for the IDE disk and only the SCSI disk will show at index 0.
<p>If you have a 2.1 or above kernel, data is displayed in 2 tables:
<ul>
<li>
one with statistics
</li>
<li>
and the other with static device, type, size and model data. Devices (sd*, hd*) are determined using the <i>/proc/partitions</i> file.
</li>
</ul>
<pre><img src="diskstats.gif"></pre>
<p>For 2.0 kernels, only the statistics table is displayed.
<p>SCSI support is not very well tested, for lack of hardware: please report problems.
</body>
</html>
|