summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/rrd_stats/run_rrd.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-18 14:58:31 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-18 14:58:31 (GMT)
commit06ba6de894ea5a79a85b2fd4ebbc1faf3eeaba36 (patch)
tree18b7c3dc77621b44e33be243e9701c5afc02e4fe /abs/extra-testing/rrd_stats/run_rrd.sh
parentbc2a5f737e0f0402b31ab0a5a59ee11a204f48c6 (diff)
downloadlinhes_pkgbuild-06ba6de894ea5a79a85b2fd4ebbc1faf3eeaba36.zip
linhes_pkgbuild-06ba6de894ea5a79a85b2fd4ebbc1faf3eeaba36.tar.gz
linhes_pkgbuild-06ba6de894ea5a79a85b2fd4ebbc1faf3eeaba36.tar.bz2
rrd_stats: add rrd_ups. Also add run_rrd.sh to cron. There were enough rrd scripts that cron was getting a bit messy.
People who installed earlier rrd_stats will need to cleanup their crontab manually.
Diffstat (limited to 'abs/extra-testing/rrd_stats/run_rrd.sh')
-rw-r--r--abs/extra-testing/rrd_stats/run_rrd.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/extra-testing/rrd_stats/run_rrd.sh b/abs/extra-testing/rrd_stats/run_rrd.sh
new file mode 100644
index 0000000..19150a4
--- /dev/null
+++ b/abs/extra-testing/rrd_stats/run_rrd.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+RRD='hddtemp disk traffic mem cpu usage ups'
+DIR='/usr/bin'
+#
+for x in $RRD
+do
+ $DIR/rrd_${x}.pl >& /dev/null
+done