Parse the output from ping and visualize it

ttyplot

  • A realtime plotting utility for the command line with data input from stdin.
    More information: <https://github.com/tenox7/ttyplot>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

ping {{8.8.8.8}} | sed -u '{{s/^.*time=//g; s/ ms//g}}' | ttyplot -t "{{ping to 8.8.8.8}}" -u {{ms}}

click the source code to copy