Internals - graph logdir=/org/snapshot.debian.net/var/log/du wwwdir=/org/snapshot.debian.net/var/www/du plot=/org/snapshot.debian.net/etc/graph.gnuplot cd $wwwdir cat $logdir/????/??-?? > du.log cat $logdir/????/??-??-a > df.log gnuplot $plot convert -geometry 160x120 du.png du.small.png convert -geometry 160x120 df.png df.small.png [graph.gnuplot] set xdata time set timefmt '%Y/%m/%d' set format x '%m/%d' set format y '%g MB' set terminal png set output "du.png" plot 'du.log' using 2:($1/1024) title "daily size(MB)" with boxes set output "df.png" plot 'df.log' using 2:($1/1024) smooth unique title "total disk usage(MB)"