This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use this command to make the log: | |
# while true; do dd if=/dev/zero of=ddfile bs=128k count=128 conv=fdatasync 2>&1 | tail -n1 | tee /dev/stderr | cut -d' ' -f6 >>disk_test.log; rm ddfile; done | |
# then use this command to plot with gnuplot: | |
# gnuplot disk_write_speed_plot.gp -p -e 'fn="logfile"' | |
# Comment the next two lines out and use -p command line option for interactive mode. | |
set output fn.'.png' | |
set term pngcairo size 1910,400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: gnuplot -e 'fn="something_Vesc_Data.csv"' vesc_plot.txt | |
# or: parallel --eta --gnu gnuplot -e 'fn=\"{}\"' ../vesc_plot.txt ::: *.csv | |
# Comment the next two lines out and use -p command line option for interactive mode. | |
set output fn.'.png' | |
set term pngcairo size 1920,1080 | |
set datafile separator ',' | |
set datafile commentschars '//' | |
set key autotitle columnhead |