Use gnuplot to plot data from continuously updated file
Change permissions of script.
chmod +x ./scan_cpu.sh
Run the script which continuously writes data to a file.
./scan_cpu.sh
Change permissions of the script.
chmod +x ./onlineplot_cpu.sh
Print all the data contained in the file.
./onlineplot_cpu -f "cpumhz.log"
Print only the last n samples.
./onlineplot_cpu -f "cpumhz.log" -n 30
Change the start and the end column.
./onlineplot_cpu -f "cpumhz.log" -n 30 -s 0 -e 1
This is free and unencumbered software released into the public domain. For more information, please refer to the LICENSE file.