/bin/rrdtool graph - \
--imgformat=PNG \
--start='1721005341' \
--end='1721091741' \
--title='高屏澎區網(中山大學)-核心骨幹(南區)-100G' \
--rigid \
--base='1000' \
--height='180' \
--width='650' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2024/07/15 09\:02\:21 To 2024/07/16 09\:02\:21\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-nsysu-asr9010-01_traffic_in_120.rrd':'traffic_in':AVERAGE \
DEF:b='/var/www/html/cacti/rra/tanet-nsysu-asr9010-01_traffic_in_120.rrd':'traffic_out':AVERAGE \
DEF:c='/var/www/html/cacti/rra/tanet-nsysu-asr9010-01_traffic_in_121.rrd':'traffic_in':AVERAGE \
DEF:d='/var/www/html/cacti/rra/tanet-nsysu-asr9010-01_traffic_in_121.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,0,*' \
CDEF:cdefb='b,0,*' \
CDEF:cdefc='c,0,*' \
CDEF:cdefd='d,0,*' \
CDEF:cdefe='TIME,1730361403,GT,a,a,UN,0,a,IF,IF,TIME,1730361403,GT,c,c,UN,0,c,IF,IF,+,8,*' \
CDEF:cdefi='TIME,1730361403,GT,b,b,UN,0,b,IF,IF,TIME,1730361403,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' |