Thursday, October 16, 2014

Ping an IP with Time Stamp.

Make a batch file to ping an IP with 60 sec time stamp.

@ echo off
:START
date/t && time/t >> C:\Users\User\Desktop\ping.txt && ping 115.187.12.115 -n 60 >> C:\Users\User\Desktop\ping.txt
goto START

It will show you the results in a text file on your desktop like this:

01:07 PM
Pinging 115.187.12.115 with 32 bytes of data:
Reply from 115.187.12.115: bytes=32 time=64ms TTL=128
Reply from 115.187.12.115: bytes=32 time=78ms TTL=128
Reply from 115.187.12.115: bytes=32 time=17ms TTL=128
Reply from 115.187.12.115: bytes=32 time=5ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=8ms TTL=128
Reply from 115.187.12.115: bytes=32 time=4ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=5ms TTL=128
Reply from 115.187.12.115: bytes=32 time=2ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=8ms TTL=128
Reply from 115.187.12.115: bytes=32 time=3ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=3ms TTL=128
Reply from 115.187.12.115: bytes=32 time=2ms TTL=128
Reply from 115.187.12.115: bytes=32 time=103ms TTL=128
Reply from 115.187.12.115: bytes=32 time=30ms TTL=128
Reply from 115.187.12.115: bytes=32 time=48ms TTL=128
Reply from 115.187.12.115: bytes=32 time=70ms TTL=128
Reply from 115.187.12.115: bytes=32 time=4ms TTL=128
Reply from 115.187.12.115: bytes=32 time=2ms TTL=128
Reply from 115.187.12.115: bytes=32 time=42ms TTL=128
Reply from 115.187.12.115: bytes=32 time=91ms TTL=128
Reply from 115.187.12.115: bytes=32 time=87ms TTL=128
Reply from 115.187.12.115: bytes=32 time=110ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=31ms TTL=128
Reply from 115.187.12.115: bytes=32 time=42ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=2ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=58ms TTL=128
Reply from 115.187.12.115: bytes=32 time=79ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=4ms TTL=128
Reply from 115.187.12.115: bytes=32 time=2ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=99ms TTL=128
Reply from 115.187.12.115: bytes=32 time=117ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=5ms TTL=128
Reply from 115.187.12.115: bytes=32 time=84ms TTL=128
Reply from 115.187.12.115: bytes=32 time=108ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=2ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=5ms TTL=128
Reply from 115.187.12.115: bytes=32 time=2ms TTL=128
Reply from 115.187.12.115: bytes=32 time=1ms TTL=128
Reply from 115.187.12.115: bytes=32 time=2ms TTL=128

Ping statistics for 115.187.12.115:
    Packets: Sent = 60, Received = 60, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 117ms, Average = 24ms
01:08 PM

And a command screen will show the date processing like this:






#techsupport #technology #tech #itsupport #windows #computer #computerrepair #laptop #itsolutions #itservices #microsoft #cybersecurity #apple #technews #pc #it #computers #informationtechnology #software #laptoprepair #smallbusiness #datarecovery #support #business #techsupportlife #computertech #ittech #technologynews #laptops #msp #techtips #techie #macbookpro #pcrepair #surfacebook #surfacepro #computerservice #techgadgets #network #workfromhome #techmemes #technologynerd #manageditservices #itnerd #wifi #geeky #itconsulting #technerd #lenovo #itjob #techworld #virusremoval #pro #pcsupport #computerscience #blockchain  #science  #innovation  #platform  #education #future  #cloud  #edge  #work  #news  #industry #security #tech #business #companies #information #solutions #time #internet #development #team #google #software #iot #trendsoogle #software #facebook #iot #trends

No comments:

Post a Comment