posted 19 years ago
Unfortunately, if you are looking for system data, it is not available directly from the JVM. If I remember correctly, you might be able to get free memory, but even that, I don't think is free memory at an OS level.
The easiest way to get the info is to do a system exec to the appropriate OS command and parse the results. For Unix, the command is "vmstat", or examining the "/proc" file system. For Windows, the command is "typeperf".
Henry