23

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?

ItsPronounced
  • 5,475
  • 13
  • 47
  • 86
Vladimir Kostyukov
  • 2,492
  • 3
  • 21
  • 30
  • "I looking for Java library for this" asking for library recommendations is (now) off topic. – Raedwald May 13 '14 at 10:16
  • 4
    @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**. – Honza Zidek Apr 20 '15 at 06:20
  • For 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. – Stephen C Jul 17 '21 at 01:08

2 Answers2

32
  1. Using Java to get os level system Information will get you started in right direction.
  2. Finding Operating System Information
Pritish Joshi
  • 2,025
  • 3
  • 18
  • 33
Rachel
  • 100,387
  • 116
  • 269
  • 365
1

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

Vivek
  • 147
  • 1
  • 7