How can I get system/hardware info via Java? [dupl

2020-01-30 06:22发布

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?

2条回答
贼婆χ
3楼-- · 2020-01-30 07:01

i have used SIGAR and is a wonderful tool for getting all SysInfo programatically. +1

查看更多
登录 后发表回答