regress-chart.sh

来自「ipsec vpn」· Shell 代码 · 共 25 行

SH
25
字号
#!/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 + =
减小字号Ctrl + -
显示快捷键?