summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-12-16 02:50:09 +0100
committerHolger Levsen <holger@layer-acht.org>2012-12-16 02:50:09 +0100
commit2853a5f05889f252dca6b415f22468ff9fb596c7 (patch)
tree157043cd224328c57abaf8735f03ed3420f5324e
parent4c71ea751cd0551b36f76cac66fc2ffb7722b9ff (diff)
downloadjenkins.debian.net-2853a5f05889f252dca6b415f22468ff9fb596c7.tar.xz
report squid usage
-rwxr-xr-xbin/housekeeping.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/housekeeping.sh b/bin/housekeeping.sh
index 9e0534d3..4c6b9db3 100755
--- a/bin/housekeeping.sh
+++ b/bin/housekeeping.sh
@@ -31,6 +31,10 @@ report_disk_usage() {
# FIXME: if $2 is given check, that disk usage is below $2 GB
}
+report_squid_usage() {
+ cat /var/www/calamaris/calamaris.txt
+}
+
general_housekeeping() {
echo
uptime
@@ -63,6 +67,7 @@ if [ -n $1 ] ; then
fi
else
general_housekeeping
+ report_squid_usage
fi
echo