[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] root login failure and /var at 100%
- Subject: Re: [cobalt-users] root login failure and /var at 100%
- From: Brent Sims <bs@xxxxxxxxxxx>
- Date: Thu Nov 1 22:07:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Thu, 1 Nov 2001, Jay Summers wrote:
} For sake of the archives, I figured that I'd mention that this doesn't work.
} This solution only works on the X86 or AMD based Cobalt hardware. Not on the
} Mipsel based Cobalt hardware. Good idea though...
There's a very easy way to keep on top of things in order to
avoid the full directory problem. Simply create a shell script that
does a df every day and run it from cron - the server admin will get
a report each day of the disk usage:
#!/bin/sh
echo "Disk Usage Report"
echo " "
/bin/df -h
echo " "
exit
Just open a file named something like disk_usage.sh in vi or
pico. Enter the above listed 6 lines, save the file, make it
executable (chmod +x disk_usage.sh) and set up a crontab to run it.
Peace be with you,
Brent Sims
WebOkay Internet Services, LLC
http://www.WebOkay.net
mailto: Brent@xxxxxxxxxxx
(719) 595-1427 (Voice/Fax)