/bin/rrdtool graph - \
--imgformat=PNG \
--start='1713655378' \
--end='1713914578' \
--title='花蓮區網(東華大學)-核心骨幹(東區)-100G' \
--rigid \
--base='1000' \
--height='180' \
--width='650' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2024/04/21 07\:22\:58 To 2024/04/24 07\:22\:58\c" \
COMMENT:" \n" \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/www/html/cacti/rra/tanet-ndhu-asr9010-01_traffic_in_116.rrd':'traffic_in':AVERAGE \
DEF:b='/var/www/html/cacti/rra/tanet-ndhu-asr9010-01_traffic_in_116.rrd':'traffic_out':AVERAGE \
DEF:c='/var/www/html/cacti/rra/tanet-ndhu-asr9010-01_traffic_in_117.rrd':'traffic_in':AVERAGE \
DEF:d='/var/www/html/cacti/rra/tanet-ndhu-asr9010-01_traffic_in_117.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,0,*' \
CDEF:cdefb='b,0,*' \
CDEF:cdefc='c,0,*' \
CDEF:cdefd='d,0,*' \
CDEF:cdefe='TIME,1728247000,GT,a,a,UN,0,a,IF,IF,TIME,1728247000,GT,c,c,UN,0,c,IF,IF,+,8,*' \
CDEF:cdefi='TIME,1728247000,GT,b,b,UN,0,b,IF,IF,TIME,1728247000,GT,d,d,UN,0,d,IF,IF,+,8,*' \
AREA:cdefa#00CF00FF:'' \
LINE1:cdefb#002A97FF:'' \
AREA:cdefc#00CF00FF:'' \
LINE1:cdefd#002A97FF:'' \
AREA:cdefe#00CF00FF:'Total Inbound' \
GPRINT:cdefe:LAST:' Current\:%8.2lf %s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf %s\n' \
LINE1:cdefi#002A97FF:'Total Outbound' \
GPRINT:cdefi:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefi:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefi:MAX:'Maximum\:%8.2lf %s\n' |