Knowledge

Shell Scripts

Shell Scripts:
Monitoring Scripts
Administration Utility Scripts
Performance Scripts
Troubleshooting Scripts

Monitoring Scripts

 

Check Database is Running

(download)

Sends an email when it detects that the specified Oracle database is not running. To setu ...(more)

Check File System Space

(download)

Sends an email when it detects that an oracle dependent file system has less than 10% tota ...(more)

Check Tablespace Space

(download)

Sends an email when it detects any tablespaces that are more than 99% full. To setup notif ...(more)

Check Oracle Errors and Core Files

(download)

Sends an email when it detects a newly logged ORA- error message in the alert.log file, ...(more)

Check Indexes

(download)

Sends an email when it detects that any indexes, index partitions, or index subpartitions ...(more)

Wakeup PMON

(download)

Uses the ORADEBUG WAKEUP command to "wake up" the PMON background process, in the event th ...(more)

Check INVALID Objects

(download)

Sends an email when it detects any invalid compiled database objects, such as database vie ...(more)

Administration Utility Scripts

 

Clone Subset of Database

(download)

Copies a subset (i.e. a specified tablespace plus the SYSTEM tablespace and any tablespace ...(more)

Performance Scripts

 

Memory Usage

(download)

Uses the pmap utility to display totals of virtual memory consumed by server processes i ...(more)

Top 10 CPU Intensive Processes

(download)

Lists the "top 10" CPU-intensive Oracle "dedicated server" processes. Written for HP-UX; ...(more)

Troubleshooting Scripts

 

Enable SQL Tracing

(download)

Enables SQL Tracing at level 12 (i.e. display "bind variable" values as well as "wait even ...(more)

Disable SQL Tracing

(download)

Disables SQL Tracing using the Server Manager ORADEBUG facility.