How to verify whether OS is running(ping the box)

  • How to verify whether OS is running ( I mean to ping the box) using a script

  • Not quite sure what you are after here, but to execute the ping command from QA, try something like this:

    EXEC master..xp_cmdshell 'ping 192.168.1.1'

  • Thanx.. I got it.

    what is this line means:

    Reply from 192.168.1.47: bytes=32 time<1ms TTL=128

    And why is it done usally?

  • It simply tells you that a packet of information (32 bytes in size) was sent to the target computer, and the response time was less than 1 millisecond.

    Each packet has a Time to Live (TTL) attribute, whose value is reduced everytime a router handles the packet. When the TTL reaches zero, then the packet is discarded. When this happens, your ping will echo the failed message. 

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply