iostat monitor
Vernon, I have an comment.
---------------------------------------------------------------------------------------------------------------
- -
- 100 dollar bill - -
- If you have a 10sec iostat which you run every 5min, as you set the test to run, you get huge gaps. -
- Say that your server always have a lot of IO every 3min for 1 min. -
- You will probably miss all this IO, set it to the same as the clientlaunch time 5min = 300 in the script. -
- iostat need to run constantly to make accurate measurements. -
- That's why you see the default do 300 sec. -
- -
---------------------------------------------------------------------------------------------------------------
To get better accuracy you should probably run "iostat dxn 300 13" and run the script from clientlaunch every hour.
A bit more coding to take care of the 11 "new" iostat though.
- Roland
On 9/09/10 06:56 PM, Vernon Everett wrote:
---------------------------------------------------------------------------------------------------------------
- -
- 100 dollar bill - -
- If you have a 10sec iostat which you run every 5min, as you set the test to run, you get huge gaps. -
- Say that your server always have a lot of IO every 3min for 1 min. -
- You will probably miss all this IO, set it to the same as the clientlaunch time 5min = 300 in the script. -
- iostat need to run constantly to make accurate measurements. -
- That's why you see the default do 300 sec. -
- -
---------------------------------------------------------------------------------------------------------------
To get better accuracy you should probably run "iostat dxn 300 13" and run the script from clientlaunch every hour.
A bit more coding to take care of the 11 "new" iostat though.
- Roland
On 9/09/10 06:56 PM, Vernon Everett wrote:
Just updated the code. Minor change.
After discussion with a colleague we thought that a 2 second iostat sample might not be adequate.
We settled on 10, but with the update, I have made it a parameter, which can be set at server side.
Cheers
VernonOn Thu, Sep 9, 2010 at 1:56 PM, Vernon Everett <user-b3f8dacb72c8@xymon.invalid> wrote:
Hi all
Just posted an iostat add-on, with graphing goodness tohttp://xymonton.trantor.org/doku.php/monitors:diskstat.ksh