ping with loging

R

RGA

I would need a tool to continuously ping host(s) and create log file in
this format:

timestamp;ip;response;ttl
2006-04-20 13:04:00;206.180.224.2;194;49
2006-04-20 13:04:01;206.180.224.2;291;49
....

to be able to create graphs from these datas and overlay two graphs to
see conjunctions.
Any tip?
 
P

Pegasus \(MVP\)

RGA said:
I would need a tool to continuously ping host(s) and create log file in
this format:

timestamp;ip;response;ttl
2006-04-20 13:04:00;206.180.224.2;194;49
2006-04-20 13:04:01;206.180.224.2;291;49
...

to be able to create graphs from these datas and overlay two graphs to
see conjunctions.
Any tip?

Try this batch file:

Line1 @echo off
Line2 :again
Line3 for /f "tokens=3,9 delims=:= " %%a in ('ping rga -n 1 ^| find /i
"bytes="') do echo %date:~4,10% %time:~0,8% %%a %%b >> c:\log.txt
Line4 ping localhost -n 2 > nul
Line5 goto again
 
G

Guest

Try Ping Plotter or MultiPing. Very helpful tools by Nessoft. (I have no
affiliation with them, just a happy user.)

MultiPing in particular will give you the ability to look at realtime graphs
side by side, but both can save their output to files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top