Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: disk information alert

RE: disk information alert

From: Lally, Tom (MA09) <tom.lally_at_honeywell.com>
Date: Wed, 23 May 2001 09:42:44 -0700
Message-ID: <F001.0030C170.20010523085523@fatcity.com>

Here's what I use, it alerts me when the specified filesystem is < 1G

mail_id=my_pageraddress_at_pagenetmessage.net;export mail_id          
# min freespace is in K 1000000=1G                            
min_freespace=1000000;export min_freespace                    
# check to see if running out of filesystem space and page me

freespace=`df -b /home2 | tail -1 | awk '{printf "%s\n",$2}'`; export freespace
if [ $freespace -lt $min_freespace ] ; then

 echo "Running out of filesystem space $freespace "

 echo . | mail -s "Alert - logfile space $freespace K" $mail_id

fi

-----Original Message-----
Sent: Wednesday, May 23, 2001 12:36 PM
To: Multiple recipients of list ORACLE-L

Hi Gurus
Does any one having scripts to know disk space once particular partion =>75% let assume the below is not exact output of df -k command $df -k

/u01 68
/u02 40
/u03 53
/u04 76

As the disk partition reach to 75% or more.We need to get email alert. If some have such kind of script let me know.

Thanks
-seema



Get your FREE download of MSN Explorer at http://explorer.msn.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Seema Singh
  INET: oracledbam_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Lally, Tom (MA09)
  INET: tom.lally_at_honeywell.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed May 23 2001 - 11:42:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US