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
Windows-WMI-Script to Monitor HD-Performance (I/O))
Moderators: Developers, Moderators
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
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
Thank you, i will try that. I think "*bytespersecond counter" is a really bad name, if its just a counter ...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.
Thanks again.[/quote]
Who is online
Users browsing this forum: No registered users and 2 guests