Published at: 09:09 pm - Thursday September 24 2009
After I post my command to commandlinefu.com, there is an alternative command followed: (echo “set terminal png;plot ‘-’ u 1:2 t ‘cpu’ w linespoints;”; sudo vmstat 2 10 | awk ‘NR > 2 {print NR, $13}’) | gnuplot > plot.png This one is appreciated for using pipes and redirection. It works on Ubuntu Jaunty, on [...]
Published at: 09:09 pm - Wednesday September 23 2009
Gnuplot is considered to be one of the most famous plotting tools on both linux and windows. With Gnuplot, generation of charts becomes agile and easy. Gnuplot supports sorts of terminals range from gui, image to printer. To enable png terminal support, we will build gnuplot with following steps. (However, on most linux distributions you [...]