本文共 1025 字,大约阅读时间需要 3 分钟。
目录
http://gnuplot.info/
# yum install gnuplot
$ sudo apt-get install gnuplot
$ cat test.log8:00 506.8778:30 501.0689:00 493.2549:30 469.18410:00 460.16111:00 426.06512:00 429.73414:00 409.25515:00 423.51216:00 390.67617:00 390.67618:00 390.676$ cat test.gnuplotset terminal png truecolor size 800,250set output "test.png"set autoscaleset xdata timeset timefmt "%H:%M"set style data linesset xlabel "time per day"set ylabel "Mbps"set title "Apache Traffic"set gridplot "test.log" using 1:2 title "Hit"$ gnuplot test.gnuplot