RE: Script to check disk space on AIX/HP-UX

  • From: "Blanchard, William G" <William.Blanchard@xxxxxxxxxxxxx>
  • To: <alex@xxxxxxxxxxxxxx>, "Oracle I List" <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 13 Apr 2011 13:29:15 -0500

Crontab

 

2,12,22,32,42,52 * * * * perl /dba/scripts/monitoring/monitor.pl alert >
/dba/scripts/logs/monitor_new.log 2>&1

#

5 0-9,11-23 * * * perl /dba/scripts/monitoring/monitor.pl space >
/dba/scripts/logs/monitor_space.log 2>&1

5 10 * * * perl /dba/scripts/monitoring/monitor.pl space 90 93 85 90 >
/dba/scripts/logs/monitor_daily_space.log 2>&1

#

7 0-9,11-23 * * * perl /dba/scripts/monitoring/monitor.pl tablespace >
/dba/scripts/logs/monitor_tablespace.log 2>&1

7 10 * * * perl /dba/scripts/monitoring/monitor.pl tablespace 85 90 >
/dba/scripts/logs/monitor_tablespace.log 2>&1

 

 

 

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Alex List
Sent: Wednesday, April 13, 2011 1:06 PM
To: Oracle I List
Subject: Script to check disk space on AIX/HP-UX

 

Hi,

 

I have a shell script scheduled to run daily on Linux and check the disk
space.

After reaching a limit of x% partition full, it sends mail to a group
alerting the issue.

 

For HP-UX and AIX many parameters are different and doesnt work.

As I dont have skills enough to adapt this script, I thought if someone
else has this kind of check/alert to share.

 

I really appreciate any comment or thought.

Thank you.

Alex

_____________

The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
_____________

Other related posts: