here is the one i used on a aix machine
#!/bin/ksh
LOGFILE=/oracle/KLT/brarchive.log
EMPTY_LOG=/oracle/KLT/empty_log.log
AWK_EXECUTABLE=awk
echo "BRARCHIVE BOS ALANI KONTROL EDIYOR\n" >> $EMPTY_LOG
if [ -n "$1" ] ; then
drive_number=$1
else
exit
fi
used_space=`df $drive_number |grep "$drive_numb
s
> Sent: Friday, September 19, 2003 2:33 PM
> To: [EMAIL PROTECTED]
> Subject: Re: script to monitor diskspace
>
>
> On Fri, 19 Sep 2003 08:41:11 -0400
> Marvin Blackburn <[EMAIL PROTECTED]> wrote:
>
> > Does anyone have a shell script or procedure to monitor dis
On Fri, 19 Sep 2003 08:41:11 -0400
Marvin Blackburn <[EMAIL PROTECTED]> wrote:
> Does anyone have a shell script or procedure to monitor disk space.
> i.e. notify someone when a filesystem gets too big?
>
Lots of ways to do this of course. One simplistic way is to
add the following line to one
Does anyone have a shell script or procedure to monitor disk space.
i.e. notify someone when a filesystem gets too big?
--
Marvin Blackburn
Systems Administrator
Glen Raven
"He's no failure. He's not dead yet" --William Lloyd George
--
redhat-list mailing list
unsubscribe mailt