• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get remote system properties  RSS feed

 
peer mohamed
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
by using System.getProperties() i can get the details of my machine.Is there any way by which i could find the details of a remote host.
thanks in advance
Peer
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Only a JVM running on a machine can get at those properties, and even then a security manager might not allow it. Not to mention the fact that some of those properties depend on the runtime environment; without one, they have no fixed meaning.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Java5 the JConsole uses new (and old?) APIs to get things like the following. You should be able to use them, too. I chopped this up a bit because it was over 4k characters wide ...

and another page

Does that cover any of the things you were interested in?
[ February 17, 2006: Message edited by: Stan James ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!