Friday, August 20, 2021
Disk space alert creation script
#!/bin/bash
###########################################################
# This script is to check the space on the Weblogic Mount
###########################################################
CURRENT=$(df /apps | grep / | awk '{ print $5}' | sed 's/%//g')
THRESHOLD=90
if [ "$CURRENT" -gt "$THRESHOLD" ] ; then
mail -s 'Disk Space Alert' XXXXXXXXXXXXX@YYYYYYYY.com << EOF
Your Servername disk remaining free space is critically low. Used: $CURRENT%
EOF
fi
Subscribe to:
Posts (Atom)
Plan SQL's
SELECT sql_id, plan_hash_value, executions, inst_id FROM gv$sql WHERE sql_id='bhwamkg4y2pxb'; SELECT ...
-
1) For new table creations - after creating the table in custom schema execute below script to generate editoning view and synonym for it in...
-
1) How to compile a form? A) Open the source code in the client PC using X-Server -------------------------------------------------------...
-
1) To hold the specific concurrent program Hold update fnd_concurrent_requests set HOLD_FLAG='Y' where PHASE_CODE='P'...