summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/housekeeping.sh6
-rwxr-xr-xupdate_jdn.sh2
2 files changed, 7 insertions, 1 deletions
diff --git a/bin/housekeeping.sh b/bin/housekeeping.sh
index b16a5a96..d2fb44c3 100755
--- a/bin/housekeeping.sh
+++ b/bin/housekeeping.sh
@@ -8,6 +8,12 @@ uptime
echo
df -h
echo
+for DIR in /var/cache/apt/archives/ /var/spool/squid/ /var/lib/jenkins/jobs/ ; do
+ du -sh $DIR
+done
+echo
+vnstat
+echo
HOUSE=$(ls /chroots/)
if [ "$HOUSE" != "" ] ; then
diff --git a/update_jdn.sh b/update_jdn.sh
index 79ee43c5..897cc158 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -24,7 +24,7 @@ asciidoc -a numbered -a data-uri -a iconsdir=/etc/asciidoc/images/icons -a scrip
#
sudo apt-get install vim screen less etckeeper curl mtr-tiny dstat devscripts bash-completion shorewall shorewall6 cron-apt apt-listchanges \
build-essential python-setuptools \
- debootstrap sudo figlet graphviz apache2 python-yaml python-pip mr subversion subversion-tools
+ debootstrap sudo figlet graphviz apache2 python-yaml python-pip mr subversion subversion-tools vnstat
#
# deploy package configuration in /etc