Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create a log from Ping command in OSX Terminal [closed]

I'm currently pinging google.com and would like to create a graph trend of the latency. What's the best way to do so ? I thought of creating a .txt file and using excel, but I'm not sure how to do this from terminal. Any ideas ?

like image 707
NLed Avatar asked Aug 15 '14 21:08

NLed


1 Answers

To get the raw output into a text file, you can pipe the results and use tee:

ping google.com | tee ~/Desktop/ping-results.txt
like image 85
Jeff Howard Avatar answered Nov 14 '22 23:11

Jeff Howard