#! @PERL@ # # $Id:$ # # Created By Tobi Oetiker # Date 2006-10-27 # #makes programm work AFTER install use lib qw( @prefix@/lib/perl ); print < 5; # stop testing after 5 seconds or one round } my $ups = $count/$sum; my $sdv = stddev($sum,$squaresum,$count); printf STDERR " Update %6d rrds %6d u/s (%6.5f sdv)\n",$totaldbs,$ups,$sdv; if ((not $prevups or $prevups / $ups < 2 or $totaldbs < 500 )and $over < 1){ $totaldbs *= 2; } elsif ( $over < 1 ) { # just run another round to see if we realy hit the block $over ++; $totaldbs *= 1.3; } else { print <