Shell script to alert us when specified background process exceeds limit

Share via:

Hello Everyone,

The below script will help us to find number of processes runs in the background and send us alerts based on warning and critical thresholds.

Script :

# ]$ cat /home/oracle/DBA/bin/

Script execution :


Here I have executed by specifying java process with warning threshold 8 and critical 15

In above script output total 10 java processes are running and it sends us warning alerts. It will help us preventing DB crash.


Thank you for giving your valuable time to read the above information. Please click here to subscribe for further updates

KTEXPERTS is always active on below social media platforms.

Facebook  :
LinkedIn    :
Twitter       :
YouTube   :
Instagram  :



Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Add Comment