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
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