rrdtool graph graph.png --title="Test Graph" --height=400 --width=800 --vertical-label="Bits per second" \ DEF:pkt=datafile.rrd:packets:AVERAGE \ LINE1:pkt#ff0000:Packets
rrdtool graph graph.png --title="Test Graph" --height=400 --width=800 --vertical-label="Bits per second" \ DEF:pkt=datafile.rrd:packets:AVERAGE \ AREA:pkt#ff0000:Packets
rrdtool graph graph.png --title="Test Graph" --height=400 --width=800 --vertical-label="Bits per second" \ DEF:pkt=datafile.rrd:packets:AVERAGE \ LINE1:pkt#ff0000:Packets \ STACK:pkt#0000ff:Packets AREA:x1#FF0000:x1 STACK:x2#0000FF:x2 LINE2:x1#FF0000:x1 STACK:x2#0000FF:x2+x1 LINE2:x1#FF0000:x1 AREA:x2#0000FF:x2:STACK
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。