Solved

time stamp constant ping

Posted on 2004-08-06
7
820 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
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

I was recently sitting at a desk at work with one of my colleagues and needed some information on my home computer. He watched as I turned on my home computer, established a remote session into it, got the information I needed and then shut it down …
Lets look at the default installation and configuration of FreeProxy 4.10 REQUIREMENTS 1. FreeProxy 4.10 Application - Can be downloaded here (http://www.handcraftedsoftware.org/index.php?page=download) 2. Ensure that you disable the windows fi…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now