File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Java mechanism to get remote server details Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Java mechanism to get remote server details" Watch "Java mechanism to get remote server details" New topic
Author

Java mechanism to get remote server details

Roger Jam
Greenhorn

Joined: Mar 01, 2009
Posts: 9
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
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
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.


Ping & DNS - updated with new look and Ping home screen widget
 
jQuery in Action, 2nd edition
 
subject: Java mechanism to get remote server details
 
Similar Threads
How to Get the CPUs/Processors System Usage in java ?
toString() and typecast to String
How to get CPU and Memory idle values using Java?
Determine CPU Usage On Remote Machine
What is Vertical and Horizontal Clustering?