Last Updated: February 25, 2016
·
1.836K
· datasaur

Live console charts with gnuplot and feedgnuplot

Use feedgnuplot stream data into gnuplot and generate a full terminal updating plot:

while true; do sleep 1; cat /proc/loadavg; done | gawk '{print $1; fflush()}' | feedgnuplot --lines --stream --xlen 10 --xlabel seconds --terminal "dumb size `tput cols`, `tput lines`"