Windows-WMI-Script to Monitor HD-Performance (I/O))

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
Thilo

Windows-WMI-Script to Monitor HD-Performance (I/O))

Post by Thilo »

Hi,

has anyone made a script to Minitor the Disk-IO on a Windows System? there are a lot of values on logicalDisks, but I don't understand, how to transform this values in something like "Read: Bytes/s", "Write: Bytes/s"

Any Ideas?

I have googeld a formula:

((AvgDisksecPerWrite_2 - AvgDisksecPerWrite_1)/Frequency_PerfTime)
----------------------------------------------------------------------------
(AvgDisksecPerWrite_base_2 - AvgDisksecPerWrite_base_1)

But i get values like x*10E-2 while doing heavy writing ...

Regards: Thilo
Guest

Post by Guest »

If you use the *bytespersecond counters, I don't think you have to worry about doing any math, RRD will take care of it. It will average the samples over 300 seconds like an interface counter. You can always tweak the heartbeat and poll it more frequently if you want greater resolution.

Otherwise you would need to store sample a somewhere get sample b calculate the deltas compute the average over the polling period store sample b and repeat.


Hope this helps
thilo

Post by thilo »

If you use the *bytespersecond counters, I don't think you have to worry about doing any math, RRD will take care of it. It will average the samples over 300 seconds like an interface counter. You can always tweak the heartbeat and poll it more frequently if you want greater resolution.
Thank you, i will try that. I think "*bytespersecond counter" is a really bad name, if its just a counter ...

Thanks again.[/quote]
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests