summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ce1d727)
raw | patch | inline | side by side (parent: ce1d727)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 18 Aug 2004 20:25:04 +0000 (20:25 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 18 Aug 2004 20:25:04 +0000 (20:25 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@886 f882894a-f735-0410-b71e-b25c423dba1c
plugins-scripts/check_oracle.sh | patch | blob | history |
index 6351f8f6bb2e33ae147225153b4ca71e07340314..2ac01ba22d79c69f1262b5de377126d9ef26ece6 100755 (executable)
}'
;;
--db)
- pmonchk=`ps -ef | grep -v grep | grep ${2}$ | grep -c pmon`
+ pmonchk=`ps -ef | grep -v grep | grep "^${2}$" | grep -c pmon`
if [ ${pmonchk} -ge 1 ] ; then
echo "${2} OK - ${pmonchk} PMON process(es) running"
exit $STATE_OK