Skip to content

Tool to measure continuously the ping reply time.

License

Notifications You must be signed in to change notification settings

armasuissewt/pingi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pingi

pingi is a command line tool which is able to measure continuously the ping reply time.

How to use it

The user has the possibility to choose the ping destination address or ip -d, the ping interval -i in seconds and the file path -o containing the detailed ping measure records. In the following example, the script sends every 0.5 seconds a ping to the host www.srf.ch. The detailed results can be found in the file abcd.csv.

> python pingi.py -d "www.srf.ch" -i 0.5 -o abcd.csv
pingi: www.srf.ch , interval [s]: 0.5
..........   22:12:58 -> Success rate = 100.0  , Avg. ping reply [s] = 0.04225916862487793
..........   22:13:04 -> Success rate = 100.0  , Avg. ping reply [s] = 0.039688634872436526
..........   22:13:09 -> Success rate = 100.0  , Avg. ping reply [s] = 0.03984115918477376
...

After every 10th ping, the program prints an intermediate (trivial) statistic. The script can be stopped by pressing the key q.

About

Tool to measure continuously the ping reply time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages