1.gnuplog 图形化工具的使用
https://jaist.dl.sourceforge.net/project/gnuplot/gnuplot
cd /soft/gnuplot-5.2.0.tar.gz
tar zxvf gnuplot-5.2.0.tar.gz
cd gnuplot-5.2.0
./configure
make
make install
2.分析图表
gnuplot 进入GNUPLOT;
gnuplot> plot '/root/mytest.log' using 8,10,9,7,6,5,4,3,2 title 'tps,reads' with lines
由于数据基数较少,无法看到更多内容。
#using 5 表示使用第5 列数据作图
#with lines 定义图中的趋势使用线来表示
#title 'tps' 定义线的名称
#使用,(逗号)分割,进行多列数据的绘制
只读(从库查询)