How can I get system/hardware info via Java?
74,593
Solution 1
- Using Java to get os level system Information will get you started in right direction.
- Finding Operating System Information
Solution 2
i have used SIGAR and is a wonderful tool for getting all SysInfo programatically. +1
Related videos on Youtube
Comments
-
Vladimir Kostyukov almost 2 years
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?
-
Raedwald about 10 years"I looking for Java library for this" asking for library recommendations is (now) off topic.
-
Honza Zidek about 9 years@Raedwald: That's a pity. I think such a type of questions are needed. The OP formulated the request very clear and concrete. We should not be so fundamentalistic - my understanding is that the rule you are mentioning should be used mainly for avoiding opinion-based questions. However this particular question is technical.
-
Stephen C almost 3 yearsFor those who doubt the wisdom of the library recommendations being off-topic, just look at the quality of the answers to this question. 1) An answer that just links to other Q&A's. 2) An answer that just says "i have used SIGAR and is a wonderful tool for getting all SysInfo programatically. +1". 3) A "me too" answer ... deleted.
-
Hovercraft Full Of Eels over 13 yearsGreat link! Thanks from the non-OP! Sigar looks quite impressive. Have you used this Rachel?
-
Vladimir Kostyukov over 13 yearsThanks! I think SIGAR solves my problems.
-
Rachel over 13 yearsYes, SIGAR is indeed very useful.