How can I get system/hardware info via Java?

Vladimir Kostyukov picture Vladimir Kostyukov · Jan 16, 2011 · Viewed 67.7k times · Source

I need to get system and hardware info via a Java application.

I'm interested in:

  • Os details;
  • Processors count, names, processor load in percents;
  • Memory status (total/free);
  • Os process (threads) count and CPU/Memory usage for each of them;
  • Network statistic (for each interface);

Is there a Java library that can do this?

Answer

Rachel picture Rachel · Jan 16, 2011