From 2853a5f05889f252dca6b415f22468ff9fb596c7 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 16 Dec 2012 02:50:09 +0100 Subject: report squid usage --- bin/housekeeping.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3-70-g09d2