termplot icon indicating copy to clipboard operation
termplot copied to clipboard

▁▂▃▅▂▇ Plot time series in your terminal in real-time

trafficstars

Usage

$ termplot -i 5s
up1:'uptime | awk "{ print $8 }"'
mem:'free | awk "/Mem:/ { print $3 }"'
wlan0:'iw dev wlan0 link | awk "/bitrate/ { print $3 }"'

up1 0.0 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ mem 150464.0 ▆▇▇██▇▇▇▆▇▇▆▆▆▅▆▆▅▅▅▅▅▇▇▆▅▅▅▄▃▄▂▂ wlan0 43.3 ▆▆▆▆▆▆▆▆▆▆█▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▆▄▄ ▄▆▆▄

$ echo 0 1 2 3 4 5 10 20 | termplot ▁▁▂▂▄█

  • Inspired by: https://github.com/holman/spark
  • Powered by the awesome library: https://hackage.haskell.org/package/brick