redstar01
asked on
I have question about iostat (hardisk detect)
ASKER
I know that '1' is seconds update
But when overload, iostat 1 -x allway show %ubtile = 100 -> its exact
while iostat -x never show 100%util, only <50-60%, show it's not exact!
Because I want to get loadding of each harddisk (with programming script to get each disk)
And I wonder if there is any way to know exact %util
And really that iostat -x and iostat 1 -x is seem conflict?
But when overload, iostat 1 -x allway show %ubtile = 100 -> its exact
while iostat -x never show 100%util, only <50-60%, show it's not exact!
Because I want to get loadding of each harddisk (with programming script to get each disk)
And I wonder if there is any way to know exact %util
And really that iostat -x and iostat 1 -x is seem conflict?
>> And really that iostat -x and iostat 1 -x is seem conflict? <<
It's just another base - accumulated since reboot or in last interval.
It's just another base - accumulated since reboot or in last interval.
ASKER
yes,
but "-x" , parameters seem not exact, allway show <50%util if hdd really overload
while "1 -x" show parameters greater much, and 100%util if hdd really overload
but "-x" , parameters seem not exact, allway show <50%util if hdd really overload
while "1 -x" show parameters greater much, and 100%util if hdd really overload
ASKER
My target:
I need know one HDD is overload or Not any time!
I need know one HDD is overload or Not any time!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The first block of iostat provides statistics concerning the time since the system was booted.
Without an interval parameter iostat will terminate after diplaying this.
When supplying an interval parameter each subsequent report covers the time since the previous report.
wmp