Forums Register Login

how to get remote system properties

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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 ]
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2591 times.
Similar Threads
Java mechanism to get remote server details
Exceptions
what do we need to fetch from remote server?
how to read from file from a remote machine
JNI + Java Webstart
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:07:34.