Results 1 to 2 of 2
  1. #1
    christhuraj is offline Member
    Join Date
    Mar 2011
    Posts
    1
    Rep Power
    0

    Default Get Ip address and OS name of system in a network

    Hai All I want to get all Ip address and the type of Operating system in a network. I do not know How to go about kindly help me through JAVA Code.

  2. #2
    lovelesh is offline Senior Member
    Join Date
    Nov 2010
    Location
    Delhi
    Posts
    135
    Blog Entries
    1
    Rep Power
    0

    Smile

    you can use :
    java.net.InetAddress.getByName(<MACHINE_HOST_NAME> )

    to get IP address of the remote machine.

    For getting OS related info:

    You need to have username/password for that machine.
    ssh or telnet on the machine and get the OS info

Similar Threads

  1. set IP address
    By yolimau in forum Networking
    Replies: 10
    Last Post: 05-30-2010, 02:37 AM
  2. Replies: 7
    Last Post: 05-02-2010, 10:35 PM
  3. what does mean ClassName@address
    By karim in forum Eclipse
    Replies: 0
    Last Post: 03-25-2009, 04:11 PM
  4. Getting network card address in Java 6
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-02-2008, 07:10 PM
  5. JSP getting IP address
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-29-2008, 09:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •