java lib for hardware query

Asked

Viewed 191 times

0

I am wanting to check on a VM of mine at Amazon if the hardware I bought is really what they offer me. I would like to make a framework or API just to check the amount of memory, HD and processor.

Can anyone tell me which JAVA library allows me to do this kind of query?

I thank anyone who helps me.

  • There’s not a panel where you can see this?

  • Renan, you have, but I want to confirm that if it is indeed what they show me. so I’m asking for help because I’ve never programmed anything like this before, at most it was the C console to run windows commands even to see network status and etc.

  • I don’t know how to do this in Java, but I found a question on Soen with several answers. I don’t think any single answer solves your problem, but by putting a little bit of each one together I think you might be halfway there. http://stackoverflow.com/questions/25552/get-os-level-system-information - good luck :)

2 answers

1


You can use Runtime.getRunTime() calls. That one topical has a lot of information on the subject, can help you.

  • 1

    Thank you very much indeed this was exactly what I wanted. It even helped Dans, thank you very much!

  • I’m happy to help. Hug!

0

  • I’ll check here. thanks for the suggestion.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.