jimenezrick/termplot

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

Haskell

45

45 commits

updated Nov 14, 2017

See the code

README

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

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Contributors

jimenezrick

45 commits

jimenezrick/termplot

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

Haskell

45

45 commits

updated Nov 14, 2017

See the code

README

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

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Contributors

jimenezrick

45 commits

Languages

Haskell

100.0%