开发者

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

This question already has answers here: 开发者_如何学运维 Get OS-level system information (17 answers) Closed 8 years ago.

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?


  1. Using Java to get os level system Information will get you started in right direction.
  2. Finding Operating System Information


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜