Alex Rivera | Logout

Detect CPU Speed/Memory/Internet Speed using Java?

Asked 2009-08-19T04:56:45.740
9

Is it possible within Java to identify the total CPU speed available as well as the total system memory? Network connection speed to the web would also be awesome.

Edit
Report

1 Answer

0

Memory stats are available from the Runtime object. And take a look a jconsole, a graphical client that presents information about a JMX-enabled Java Virtual Machine. It shows a lot of information including CPU usage, so you could write your own client that accesses the JMX information too.

answered 2009-08-19T05:31:46.497

Your Answer