Home | 簡體中文 | 繁體中文 | 雜文 | 知乎專欄 | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 視頻教程 | 打賞(Donations) | About
知乎專欄多維度架構 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者”

182.10. AREA, LINE and STACK

182.10.1. LINE

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
			

182.10.2. AREA

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
			

182.10.3. STACK

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
			

182.10.4. GPRINT