How can I get system/hardware info via Java? [duplicate]
-
11-10-2019 - |
Question
This question already has an answer here:
- get OS-level system information 15 answers
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?
Solution
- Using Java to get os level system Information will get you started in right direction.
- Finding Operating System Information
- How to get System Information using Java
OTHER TIPS
i have used SIGAR and is a wonderful tool for getting all SysInfo programatically. +1
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow