Created
July 14, 2024 20:30
-
-
Save ivan3bx/bef471d0c3d0deeff35a9b5b939d9983 to your computer and use it in GitHub Desktop.
Ping visualuzation with asciigraph + ripgrep
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
# Adapted from | |
# https://github.com/guptarohit/asciigraph | |
ping -i.5 google.com \ | |
| rg "time=(.*?) " -r '$1' -o --line-buffered \ | |
| asciigraph -r -h 10 -w 40 -c "realtime plot data (google ping in ms) from stdin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment