I want to know whether it is possible to get CPU utilization and memory details of a remote server , from a java program. Is there any mechanism that supports this requirement ?
I am on A machine and from A i want to get the CPU utilization and memory details of server B.
JMX can do this if the target machine allows it (which involves starting the JVM with the -Dcom.sun.management.jmxremote switch). Then you could point tools like jconcole or visualvm at it, or write Java code that does the same programmatically.