hotsanic |
Subversion Repositories: |
Line No. | Rev | Author | Line |
---|---|---|---|
1 | 1 | simandl | #!/usr/bin/env sh |
2 | |
||
3 | if [ "$2" = "" ]; then num=30; else num=$2; fi |
||
4 | |
||
5 | for nn in $1/rrd/*; do |
||
6 | echo "checking $nn" |
||
7 | rrdtool fetch $nn -s -$num AVERAGE |
||
8 | echo;echo |
||
9 | done |