4 thoughts on “dbalarm Script Updated!”

  1. im getting the below while nothing is currently running
    Please make sure the following sessions are completed before running dbalarm script: [ps -ef|grep -v grep|grep -v vi|grep dbalarm]

  2. Then please hash the following lines in the script from line 87 to 97:

    # Check if there is another session of dbalarm is running: [Avoid performance impact]
    DBALARMCNT=`ps -ef|grep -v grep|grep -v vi|grep dbalarm|wc -l`
    if [ ${DBALARMCNT} -gt 2 ]
    then
    echo -e "33[32;5mdbalarm.sh script is currently running by another session.33[0m"
    echo ""
    echo "Please make sure the following sessions are completed before running dbalarm script: [ps -ef|grep -v grep|grep -v vi|grep dbalarm]"
    ps -ef|grep -v grep|grep -v vi|grep dbalarm.sh
    echo "Script Terminated !"
    echo
    exit
    fi

Leave a Reply

Your email address will not be published. Required fields are marked *