Hey All,
I'm trying to find a java API that will report to me system information
such as OS/Version memory available, memory used, etc, etc. Does
anyone know of such a package or perhaps a 3rd party jar that I could
use?
Thanks in advance,
Matt
klynn47@comcast.net - 10 Nov 2005 22:09 GMT
Well you can get the OS and version and other information by using
System.getProperties().
Tor Iver Wilhelmsen - 11 Nov 2005 16:28 GMT
> I'm trying to find a java API that will report to me system
> information such as OS/Version memory available, memory used, etc,
> etc. Does anyone know of such a package or perhaps a 3rd party jar
> that I could use?
If you use J2SE 1.5/5.0 you can ask for some of the JMX objects for
that purpose:
http://java.sun.com/j2se/1.5.0/docs/guide/management/overview.html