summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-08-08 13:46:29 +0000
committerJan Kneschke <jan@kneschke.de>2005-08-08 13:46:29 +0000
commit4d6933c0c19ac27330b5a1e7367a24834fb18f79 (patch)
tree23c18da4fbc333b0d50be5b2c779f201227d536a /doc
parent34b7365eb0af0b2b4a6db82075eb66cfb389647a (diff)
downloadlighttpd-git-4d6933c0c19ac27330b5a1e7367a24834fb18f79.tar.gz
fixed colors of the generated graphs
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@518 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'doc')
-rw-r--r--doc/rrdtool.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/rrdtool.txt b/doc/rrdtool.txt
index ac2d0e5d..72f96f7f 100644
--- a/doc/rrdtool.txt
+++ b/doc/rrdtool.txt
@@ -66,19 +66,21 @@ Generating Graphs
CDEF:bin=binraw,-1,* \
CDEF:binmax=binmaxraw,-1,* \
CDEF:binmin=binminraw,-1,* \
+ CDEF:binminmax=binmaxraw,binminraw,- \
+ CDEF:boutminmax=boutmax,boutmin,- \
AREA:binmin#ffffff: \
STACK:binmax#f00000: \
LINE1:binmin#a0a0a0: \
LINE1:binmax#a0a0a0: \
- LINE2:bin#a00000:incoming \
+ LINE2:bin#a0a735:incoming \
GPRINT:bin:MIN:%.2lf \
GPRINT:bin:AVERAGE:%.2lf \
GPRINT:bin:MAX:%.2lf \
AREA:boutmin#ffffff: \
- STACK:boutmax#00f000: \
+ STACK:boutminmax#00f000: \
LINE1:boutmin#a0a0a0: \
LINE1:boutmax#a0a0a0: \
- LINE2:bout#00a000:outgoing \
+ LINE2:bout#a0a735:outgoing \
GPRINT:bout:MIN:%.2lf \
GPRINT:bout:AVERAGE:%.2lf \
GPRINT:bout:MAX:%.2lf \
@@ -95,11 +97,12 @@ Generating Graphs
DEF:req=$INFILE:Requests:AVERAGE \
DEF:reqmax=$INFILE:Requests:MAX \
DEF:reqmin=$INFILE:Requests:MIN \
+ CDEF:reqminmax=reqmax,reqmin,- \
AREA:reqmin#ffffff: \
- STACK:reqmax#00f000: \
+ STACK:reqiminmax#0e0e0e: \
LINE1:reqmin#a0a0a0: \
LINE1:reqmax#a0a0a0: \
- LINE2:req#006000:requests"
+ LINE2:req#00a735:requests"
$RRDTOOL graph $OUTDIR/$OUTPRE-hour.png -a PNG --start -14400 $DISP