Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java mechanism to get remote server details

 
Roger Jam
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
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.

Thanks in Advance,
Roge.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic