jablonka.czprosek.czf

hotsanic

Subversion Repositories:
[/] [branches/] [HotSaNIC-0.5.0-pre6/] [modules/] [system/] [update] - Blame information for rev 10

 

Line No. Rev Author Line
11simandl#!/usr/bin/env sh
2 
3. ../../settings
4 
5if [ `$BINPATH/rrdtool info rrd/proc.rrd |grep max |grep -cv NaN` -gt 0 ]; then
6 
7 echo "old-style databases found, update necessary.";
8 
9# update databases if needed
10#
11 $BINPATH/rrdtool tune rrd/proc.rrd -a procslp:U -a procrun:U -a proczmb:U -a procstp:U -a procdsc:U
12 fi
13 
14if [ -e rrd/loadavg.rrd ]; then
15 echo "old DBname detected, renaming..."
16 mv -f rrd/loadavg.rrd rrd/load.rrd
17 cd ../..
18 ./makeindex.pl
19 fi
20 

Powered by WebSVN 2.2.1