version 1.58, 2009/05/09 17:15:49 |
version 1.59, 2009/05/10 19:27:25 |
|
|
. $f |
. $f |
} |
} |
|
|
start_part "Running /etc/daily.local:" |
start_part "Running daily.local:" |
run_script "daily.local" |
run_script "daily.local" |
|
|
next_part "Removing scratch and junk files:" |
next_part "Removing scratch and junk files:" |
|
|
} |
} |
} |
} |
|
|
next_part "Disk status:" |
next_part "Checking subsystem status:" |
|
echo "" |
|
echo "disks:" |
df -kl |
df -kl |
echo "" |
echo "" |
dump W |
dump W |
|
|
# The first two regular expressions handle sendmail, the third postfix. |
# The first two regular expressions handle sendmail, the third postfix. |
# When the queue is empty, exim -bp keeps silent. |
# When the queue is empty, exim -bp keeps silent. |
next_part "Mail queue:" |
next_part "mail:" |
mailq | grep -v -e "^/var/spool/mqueue is empty$" \ |
mailq | grep -v -e "^/var/spool/mqueue is empty$" \ |
-e "^[[:blank:]]*Total requests: 0$" \ |
-e "^[[:blank:]]*Total requests: 0$" \ |
-e "^Mail queue is empty$" |
-e "^Mail queue is empty$" |
|
|
next_part "Network status:" |
next_part "network:" |
netstat -ivn |
netstat -ivn |
|
|
t=/var/rwho/* |
t=/var/rwho/* |