Deleted old Loadstat file, fixed logrotate warning, hwgraphs ignoring special characters, upgrade includes cgis by apache, made paralellism flag by config

This commit is contained in:
Maniacikarus
2008-10-27 22:13:53 +01:00
parent 5e932bd569
commit e4e74858e4
6 changed files with 25 additions and 51 deletions

View File

@@ -1,13 +0,0 @@
#!/usr/bin/perl
use RRDs;
my $LOAD = '';
my $CMD = "awk '{print \$1\":\"\$2\":\"\$3}' < /proc/loadavg";
$LOAD=`$CMD`;
chomp($LOAD);
RRDs::update ("/var/log/rrd/load.rrd",
"-t", "load1:load5:load15",
"N:$LOAD");
my $ERROR = RRDs::error;
print "$ERROR\n" if $ERROR;