Hi,
I'm wondering is it possible to get the following details from the underlying OS using java ?
- total machine memory
- processor useage
- hard drive accesses
- network load
Thanks :)
Printable View
Hi,
I'm wondering is it possible to get the following details from the underlying OS using java ?
- total machine memory
- processor useage
- hard drive accesses
- network load
Thanks :)
this probably doesn't have anything you need, but it at least has some stuff about your system
http://java.sun.com/j2se/1.4.2/docs/...etProperties()
has to be more where that came from. Just look around on the api pages. I don't know anything off the top of my head though to do that stuff.
It isnt possible to display os properties as youve requested.
You can, however, display your java system properties as well as os name, version, etc.
Edit: You can probably do this via a C/C++ system command using JNICode:public class SystemProperties
{
public static void main(String []args)
{
System.getProperties().list(System.out);
}
}