Hi,
there is mistake in function CheckDbStatus.
The correct string "smon_$ORACLE_SID" instead
of "smon_$ORACLE_SID$", then you can gather data
from Oracle instance else you obtain error
message: "The instance $ORACLE_SID is not running.
Skipping pending tests." even if istance is runnig.
#---------------------------
# Find out wether the databse $ORACLE_SID is up
# or not.
# Input : None
# Output: return code
#---------------------------
CheckDbStatus ()
{
ps -ef | grep -v grep | grep "smon_$ORACLE_SID"
> /dev/null 2>&1
return $?
}
Logged In: NO
thanks to nobody for his workaround - it´s always the same, small character big problem :-)
lemmy