📄 regress-chart.sh
字号:
#!/bin/sh# $Id: regress-chart.sh,v 1.2 2002/06/09 21:14:45 mcr Exp $## this script produces a graph of FreeSWAN regression testing status## note that this timefmt requires gnuplot 3.7.2+# see http://www.sourceforge.net/projects/gnuplot#tree=$1cd $tree || exit 1cat */stats.txt | sort -n >regressstats.txtgnuplot <<EOFset terminal pngset output 'regressgraph.png'set timefmt '%s'set xdata timeset yrange [0:400]plot 'regressstats.txt' using 1:2 title "total" with linespoints , 'regressstats.txt' using 1:3 title "passing" with points, 'regressstats.txt' using 1:4 title "failing" with linespoints, 'regressstats.txt' using 1:5 title "missing" with linespointsEOF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -