Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> osh

osh

From: Schauss, Peter <peter.schauss_at_ngc.com>
Date: Mon, 20 Dec 2004 10:03:16 -0500
Message-ID: <A17F427EF83B5D4881E6B304F8781C5E03FACD93@xcgny001.northgrum.com>


Oracle 8.1.7 on AIX 5.2

The script oraenv, found in $ORACLE_HOME/bin and /usr/local/bin contains the following lines:

# Locate "osh" and exec it if found
ULIMIT=3D`LANG=3DC ulimit 2>/dev/null`
if [ $? =3D 0 -a "$ULIMIT" -lt 2113674 ] ; then

    if [ -f $ORACLE_HOME/bin/osh ] ; then

        exec $ORACLE_HOME/bin/osh
    else

        for D in `echo $PATH | tr : " "`
        do
            if [ -f $D/osh ] ; then
                exec $D/osh
            fi
        done

    fi
fi

What is this supposed to do?

On my system, if ulimit is set to 2097151, the call to osh gives me osh [-1]

: Error 0

If ulimit is set to "unlimited" the first "if" statement in the above script fragment fails.

Right now, I have this whole section of the script commented out in my = development
environment. Am I going to break anything by doing this?

Thanks,
Peter Schauss

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Dec 20 2004 - 09:02:55 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US