diff options
author | Matt Rude <[email protected]> | 2011-06-05 21:41:26 -0500 |
---|---|---|
committer | Matt Rude <[email protected]> | 2011-06-05 21:41:26 -0500 |
commit | 015c6fa0cd03fccfb6403c4a1044b9d1b40da8e0 (patch) | |
tree | 8a9f84c99923211bb2dcd1337989700b40b6d52f /scripts/do-build-graphs | |
parent | ce10b3ecd979c01d39e6931cfa4602abba4c9c76 (diff) | |
download | time.mattrude.com-015c6fa0cd03fccfb6403c4a1044b9d1b40da8e0.tar.gz time.mattrude.com-015c6fa0cd03fccfb6403c4a1044b9d1b40da8e0.tar.bz2 time.mattrude.com-015c6fa0cd03fccfb6403c4a1044b9d1b40da8e0.zip |
more small updates
Diffstat (limited to 'scripts/do-build-graphs')
-rwxr-xr-x | scripts/do-build-graphs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/do-build-graphs b/scripts/do-build-graphs index 5ac970d..d88ccb3 100755 --- a/scripts/do-build-graphs +++ b/scripts/do-build-graphs @@ -53,8 +53,31 @@ GPRINT:a:LAST:"Now\:%8.2lf %s" \ GPRINT:a:AVERAGE:"Avg\:%8.2lf %s" \ GPRINT:a:MAX:"Max\:%8.2lf %s\n" \ +${RRD_BIN}/rrdtool graph \ + --imgformat=PNG ${GRAPHS}/samantha-clients.png \ +--start=-86400 --end=-300 \ +--title='Samantha - 174.143.173.49' \ +--rigid \ +--height=100 \ +--width=290 \ +--alt-autoscale-max \ +--lower-limit=0 \ +--vertical-label='Active Clients' \ +--slope-mode \ +--font TITLE:12: \ +--font AXIS:8: \ +--font LEGEND:8: \ +--font UNIT:8: \ +DEF:a="/var/www/time.mattrude.com/rrd/samantha-client.rrd":clients:AVERAGE \ +AREA:a#002A97FF:"" \ +GPRINT:a:LAST:"Now\:%8.2lf %s" \ +GPRINT:a:AVERAGE:"Avg\:%8.2lf %s" \ +GPRINT:a:MAX:"Max\:%8.2lf %s\n" \ + + /usr/bin/optipng ${GRAPHS}/kirby-clients.png /usr/bin/optipng ${GRAPHS}/twyla-clients.png +/usr/bin/optipng ${GRAPHS}/samantha-clients.png #end |