Created
February 8, 2014 12:28
-
-
Save Noktec/8882948 to your computer and use it in GitHub Desktop.
Plot Pings with Gnuplot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Use the following command to retrieve the times of a Pings | |
# ping -c 100 www.google.co.uk | awk -F [=\ ] {'print $(NF-1)'} | grep -E "[0-9]" > pingTimes.dat | |
#Then use the following script to plot it with gnuplot | |
set terminal pdfcairo font "Gill Sans,9" linewidth 2 rounded fontscale 1.0 | |
set output "ping.pdf" | |
set ylabel "Time in milliseconds" | |
set xlabel "Number of Pings" | |
plot "pingTimes.dat" w lp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment