May 12th, 2005, 11:23 PM
Monitoring OS with Java
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
May 13th, 2005, 06:52 AM
this probably doesn't have anything you need, but it at least has some stuff about your system
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.
May 13th, 2005, 02:43 PM
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 JNI
public class SystemProperties
public static void main(String args)