• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 842
  • Last Modified:

time stamp constant ping

I want to run constant pings to a few specific hosts on my network - does anyone know how I can timestamp and log these pings to a file so I can possibly correlate dropped packets with certain network occurances?  Network is Cisco and Windows 2000 based.
0
mrsmileyns
Asked:
mrsmileyns
1 Solution
 
ngravattCommented:
to constantly ping use this command:

ping -t 123.456.789.098

where 123.456.789.098 is IP address of the host you want to ping
0
 
mrsmileynsAuthor Commented:
i know that thanks - i need a timestamp for each ping and a way to log it to a file
0
 
ngravattCommented:
ok, you can use this command to add timestamps to the ping results

ping -s 1 -t 123.456.789.098

where 123.456.789.098 is the IP of th host.
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
AshuraKnightCommented:
Here's how to logging timestamp to logfile
you might want to combine it with the answer from ngravatt :)

http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20738717.html

PS: I'm sleepy so I can't give you the bat file to do the whole operation :P
Sorry about that
0
 
adamdrayerCommented:
you may want to use a protocol analyzer instead.  It will allow you monitor bandwidth durring certain occurances, and will give you tons more.

http://www.etherreal.com

0
 
adamdrayerCommented:
hahaha, sorry.  that should be http://www.ethereal.com

The other one is some french site.
0
 
PennGwynCommented:
I use "pingplotter" for this kind of stuff.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now