Hi,
I want to check whether a system exists in LAN or not and also the database residing in that system is up or not.So, for this I'm trying to use telnet command as follows,
Runtime rt=Runtime.getRuntime();
Process p=rt.exec("telnet 192.168.1.15");
No error nothing ,It is executing .But by using the above command I don't know how to retrieve the success status .
Please,tell me a solution for this or is there any other way to solve this problem .
Thanks,
Sirisha.