lib java to query hardware

0

I'm wanting to check into a VM of mine in 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 you tell me which JAVA library to allow me to do this type of query?

Thanks to anyone who helps me.

    
asked by anonymous 09.10.2014 / 15:39

2 answers

1

You can use Runtime.getRunTime () calls. This topic has a lot of information about it, can help you.

    
30.10.2014 / 02:51
0

I think your best option is to get a C language library that does what you want, in this case, have access to the hardware and use it in your Java project through a native call. On Caelum's website there is a tutorial on this: link

    
11.10.2014 / 11:17