Changeset 607
- Timestamp:
- 03/21/06 09:19:58 (7 years ago)
- Location:
- trunk/pdns/pdns/tools/rrd
- Files:
-
- 2 modified
-
makegraphs (modified) (2 diffs)
-
update (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/tools/rrd/makegraphs
r606 r607 1 #!/bin/ sh2 WWWPREFIX= /var/www/1 #!/bin/bash 2 WWWPREFIX=. 3 3 WSIZE=800 4 4 HSIZE=250 … … 71 71 72 72 rrdtool graph --start -$1 $WWWPREFIX/hitrate-$2.png -w $WSIZE -h $HSIZE -l 0\ 73 -v "percentage" -U %\73 -v "percentage" \ 74 74 -t "cache hits" \ 75 75 DEF:cachehits=pdns_recursor.rrd:cache-hits:AVERAGE \ -
trunk/pdns/pdns/tools/rrd/update
r604 r607 9 9 cache-hits cache-misses answers0-1 answers1-10 answers10-100 answers100-1000 answers-slow" 10 10 11 UVARIABLES=$(echo $VARIABLES | tr [a-z] [A-Z]| tr - _ )11 UVARIABLES=$(echo $VARIABLES | tr '[a-z]' '[A-Z]' | tr - _ ) 12 12 13 13 ./rec_control GET $VARIABLES |