Solved

time stamp constant ping

Posted on 2004-08-06
7
824 Views
Last Modified: 2008-02-01
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
Comment
Question by:mrsmileyns
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 10

Expert Comment

by:ngravatt
ID: 11737096
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
 

Author Comment

by:mrsmileyns
ID: 11737104
i know that thanks - i need a timestamp for each ping and a way to log it to a file
0
 
LVL 10

Accepted Solution

by:
ngravatt earned 250 total points
ID: 11737122
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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 5

Expert Comment

by:AshuraKnight
ID: 11737344
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
 
LVL 15

Expert Comment

by:adamdrayer
ID: 11737351
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
 
LVL 15

Expert Comment

by:adamdrayer
ID: 11737385
hahaha, sorry.  that should be http://www.ethereal.com

The other one is some french site.
0
 
LVL 11

Expert Comment

by:PennGwyn
ID: 11754699
I use "pingplotter" for this kind of stuff.

0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question