rrdtool graph

timestamp=`date -d "2003/08/15 12:00" +%s` 


rrdtool graph /tmp/def.png \
   --end now --start end-120000s --width 400 \
   -t "DEF应用举例+不同时间粒度作图对比" \
   --font TITLE:14:FZZHYJW.ttf \
   DEF:dsa=/home/rrdtool/data/router1.rrd:dsa:AVERAGE \
    LINE1:ds0a#0000FF:"default resolution 300 seconds\l" \

你可能感兴趣的:(Date,Graph)