Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

time stamp constant ping

Posted on 2004-08-06
7
Medium Priority
?
835 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 1000 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

578 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