Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Getting Disk read bytes stat

$
0
0
Hello.

I am trying to retrieve the number of disk read bytes at any one time with SIGAR and I'm having some unusual results. when I run this code:

Sigar sigar = new Sigar();

org.hyperic.sigar.DiskUsage infos = sigar.getDiskUsage("D:\\");

long read = infos.getReadBytes();

I get a very big number that is not representative of the disk usage. Can anyone suggest what I'm doing wrong? I'd be very pleased!

the numbers coming back are in the region of:
628467
629786
629514

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>