[SunHELP] filesystem monitor script

sunhelp at sunhelp.org sunhelp at sunhelp.org
Mon Apr 2 18:46:46 CDT 2001


Thanks Men.
Wally


>From: blake.r.matheny at mail.sprint.com
>Reply-To: sunhelp at sunhelp.org
>To: sunhelp at sunhelp.org
>Subject: RE: [SunHELP] filesystem monitor script
>Date: Mon, 2 Apr 2001 13:08:58 -0500
>
>#!/bin/ksh
>for i in `grep ufs /etc/vfstab | grep -v ^# | awk '{print $1}'`
>do
>	if [ `df -k $i | grep ^/ | awk '{print $5}' | sed 's/%//g'` -gt 75
>]; then
>		echo "FS is full"
>	    else
>		echo "FS is OK"
>	fi
>done
>
>-----Original Message-----
>From: walubank [mailto:walubank at hotmail.com]
>Sent: Monday, April 02, 2001 4:06 PM
>To: sunhelp
>Cc: walubank
>Subject: [SunHELP] filesystem monitor script
>
>
>Can anybody get me a monitoring script that will report when the
>filesystem
>is over 75%
>Thanks
>Wally
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>_______________________________________________
>SunHELP maillist  -  SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com




More information about the SunHELP mailing list