Question Locked

Ping with Time and Date Stamp

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi, I have been looking for a batch or vbscript to monitor ping response in either text/csv/xls file. I need to do ping test for a week continuously to monitor bandwidth behavior.

Thanks.

10 replies

by chris910

It is kind of crude and the file will be very large but it works. It will ping 1000 times and insert a timestamp then ping 1000 more times untill you use CTL-C or close the command window. your information will be in the Text.Txt file.
-------
:START
Date>Text.txt
Time>Text.txt
Ping -n 1000 127.0.0.1 >text.txt
GOTO START

by 93961

You can't monitor bandwidth by pinging. You can install BitMeter on server (Proxy) if possible. Google BitMeter.

by ali.abbass

thanks Chris,

MRTG is bandwidth usage graph, but i want to see ping graph.

Regards

by cg it

bandwidth is your total capacity.

Throughput is actual bandwidth taking in consideration X conditions of the line.

latency is the X conditions such as a router in the path with lower response, overheads etc.

speed is simply how fast traffic going from point A to B on available bandwidth.

your continious ping test will send ping packets to a destination and cause congestion in the line [more overhead] and not only that cause latency because the routers in the path have to process the ping packets which cause higher CPU utilization. If you ping a router enough, you can cause it to use up most of it's resources processing the ping packets.

So that does nothing for monitoring you bandwidth. If anything gives you a false reading of available bandwidth, throughput and latency as the ping packets are causing lower throughput and higher latency.

by ali.abbass

Thanks, Yes you are right that is extra over head, but the purpose of this ping test to measure actual time of reaching, and of course this test would be use randomly.

But i totally agree with your point. :)

This discussion is closed to new replies.