/bin/rrdtool graph - \
--imgformat=PNG \
--start='1682791690' \
--end='1715844874' \
--title='hk-mx480-1j - Load Average' \
--rigid \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--units-exponent='0' \
COMMENT:"From 2023/04/30 03\:08\:10 To 2024/05/16 16\:34\:34\c" \
COMMENT:" \n" \
--vertical-label='processes in the run queue' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a='/usr/share/cacti/rra/hk-mx480-1j_load_1min_2028.rrd':'load_1min':AVERAGE \
DEF:b='/usr/share/cacti/rra/hk-mx480-1j_load_5min_2030.rrd':'load_5min':AVERAGE \
DEF:c='/usr/share/cacti/rra/hk-mx480-1j_load_15min_2029.rrd':'load_15min':AVERAGE \
CDEF:cdefg='TIME,1730332593,GT,a,a,UN,0,a,IF,IF,TIME,1730332593,GT,b,b,UN,0,b,IF,IF,TIME,1730332593,GT,c,c,UN,0,c,IF,IF,+,+' \
AREA:a#EACC00FF:'1 Minute Average' \
GPRINT:a:LAST:' Current\:%8.2lf\n' \
AREA:b#EA8F00FF:'5 Minute Average':STACK \
GPRINT:b:LAST:' Current\:%8.2lf\n' \
AREA:c#FF0000FF:'15 Minute Average':STACK \
GPRINT:c:LAST:'Current\:%8.2lf\n' \
LINE1:cdefg#000000FF:'Total\n' |