
19/11/2013, 09:28
|
| | Fecha de Ingreso: noviembre-2013
Mensajes: 1
Antigüedad: 11 años, 3 meses Puntos: 0 | |
Respuesta: Ping continuo es muy simple copia las instrucciones que dejo en un archivo texto, le das un nombre ej nombre.bat, ojo que no se llame ping.bat ya que causaria un error con el commando ping que tiene el batch, cambias el ip por el que quieres monitorear.
:loop
echo %date% >> c:\ReportPing.txt
echo %time% >> c:\ReportPing.txt
ping 10.0.1.56 >> c:\ReportPing.txt
goto loop
resultado:
Tue 11/19/2013
7:30:00.94
Pinging 10.0.1.56 with 32 bytes of data:
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Ping statistics for 10.0.1.56:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Tue 11/19/2013
7:30:04.09
Pinging 10.0.1.56 with 32 bytes of data:
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Ping statistics for 10.0.1.56:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Tue 11/19/2013
7:30:07.24
Pinging 10.0.1.56 with 32 bytes of data:
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Reply from 10.0.1.56: bytes=32 time<1ms TTL=128
Ping statistics for 10.0.1.56:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms |