Hi, I am using the Java APIs of Sigar to get CPU load and free memory (as percentages) and there are also plenty of good examples on the provided sources demonstrating that kind of functionality. However, how could I use Sigar to obtain a similar percentage for the network utilization? There doesn't seem to be an example demonstrating how one could get that information. I understand that the metric is not very well defined but I was thinking something along the lines of sum of incoming and outgoing traffic as a percentage of the Network Interface Card's bandwidth. Windows 7 at least provides such a metric in Task Manager, tab "Networking" and I was trying to get something similar using Java and Sigar.
↧