is my hard drive really at 100% utilization?
So I just got iostat installed on my machine. I didn't reboot it if that makes any difference (it's been up for 465 days) and I'm getting output which suggests my hard drives are over worked. Is that the case? Also, what is the difference between 'hda' and 'hda1', 'hda2', etc?
Code:
avg-cpu: %user %nice %system %iowait %steal %idle |
Might be worth reading the man pages or info pages for iostat to see what all the numbers represent. Hda is the first hard drive as a whole, hda1 is the first partition on the first drive, hdb1 is the first partition on the second hard drive.
The df command will tell you flat out how much free space your partitions have, for example, I just ran the df command on my Debian installation in VMware in Windows and below is what it tells me: Code:
yomama:/home/jo# df |
If that's too hard to understand, you can use the -h option which is for "human readable format" as such:
Code:
mymama:/home/jo# df -h |
Quote:
Run it with an interval for a while. |
df is an entirely different command and those used/available numbers refer to the total space available on the hard drive rather than the utilization of instantaneous throughput which is what util refers to. I'm familiar with df...my hard drives are only about half full:
Code:
[root@mydomain root]# df -h Code:
await |
I'm having problems finding out what the "avgqu-sz" is all about, I can guess, but would rather not. I was going to say I don't have iostat installed and can't read the man pages, but that's a crock, google can pull up any man page, just... I don't think the ones I'm finding are as recent or robust as yours.
Based on the first paragraph of iostat's description, I would tend to think you may be interpreting the first line wrong. To me, it would seem the intervals of the partitions are the lines that tell the story as to how much bandwidth saturation your drives have. And I don't think the await and svctm figures are all that bad, probably normal because hard drives are near the bottom of the memory pyramid, and not all drives have the same access time, cheaper drives can have an access time three times that of an expensive line. According to the intervals, the drive's partitions activity are quite minimal: Quote:
|
All times are GMT -5. The time now is 12:39 AM. |