Edit D:\app\Administrator\product\11.2.0\dbhome_1\sysman\admin\scripts\db\sgactl
#!/bin/sh -f #++ # sgactl is a shell script to control nmccollector. # Currently, it only supports "stop" operation. # #-- # # MODIFIED # hopark 06/01/05 - hopark_4258298_gc # hopark 05/12/05 - creation # # # Make sure certain environment variables are set # JAVA_HOME=$ORACLE_HOME/jdk JRE_HOME=$ORACLE_HOME/jdk/jre PERL_BIN=$ORACLE_HOME/perl/bin PERL_HOME=$ORACLE_HOME/perl export JAVA_HOME export JRE_HOME export ORACLE_HOME export EMDROOT export PERL_BIN export PERL_HOME PERL5LIB_NATIVE=$ORACLE_HOME/perl/lib:$ORACLE_HOME/perl/lib/site_perl PERL5LIB_TMP=${PERL5LIB_NATIVE}:$ORACLE_HOME/perl/libwww-perl/lib:$ORACLE_HOME/perl/ext/POSIX:$ORACLE_HOME/perl/URI:$ORACLE_HOME/perl/HTML_Parser:$ORACLE_HOME/perl/HTML-Parser/lib:$EMDROOT/sysman/admin/scripts:$EMDROOT/bin if [ "$PERL5LIB" = "" ] ; then PERL5LIB=${PERL5LIB_TMP} else PERL5LIB=${PERL5LIB_TMP}:${PERL5LIB} fi if [ "$LD_LIBRARY_PATH" = "" ] ; then LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib32:$ORACLE_HOME/network/lib:$ORACLE_HOME/perl/lib:$EMDROOT/lib32:$EMDROOT/lib:$OUILOC/lib/linux else LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib32:$ORACLE_HOME/network/lib:$ORACLE_HOME/perl/lib:$EMDROOT/lib32:$EMDROOT/lib:$OUILOC/lib/linux:$LD_LIBRARY_PATH fi if [ "$SHLIB_PATH" = "" ] ; then SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/network/lib32:$ORACLE_HOME/perl/lib:$EMDROOT/lib32:$OUILOC/lib/linux else SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/network/lib32:$ORACLE_HOME/perl/lib:$EMDROOT/lib32:$OUILOC/lib/linux:$SHLIB_PATH fi if [ "$LIBPATH" = "" ] ; then LIBPATH=$ORACLE_HOME/lib32:$ORACLE_HOME/network/lib32:$ORACLE_HOME/perl/lib:$EMDROOT/lib32:$OUILOC/lib/linux else LIBPATH=$ORACLE_HOME/lib32:$ORACLE_HOME/network/lib32:$ORACLE_HOME/perl/lib:$EMDROOT/lib32:$OUILOC/lib/linux:$LIBPATH fi if [ "$DYLD_LIBRARY_PATH" = "" ] ; then DYLD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:$ORACLE_HOME/perl/lib:$EMDROOT/lib:$OUILOC/lib/linux else DYLD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:$ORACLE_HOME/perl/lib:$EMDROOT/lib:$OUILOC/lib/linux:$DYLD_LIBRARY_PATH fi export PERL5LIB export LD_LIBRARY_PATH export SHLIB_PATH export LIBPATH export DYLD_LIBRARY_PATH if [ "$1" = "status" ]; then echo "not implemented yet" elif [ "$1" = "start" ]; then echo "not implemented yet" elif [ "$1" = "stop" ]; then # Execute the sgastop.pl $PERL_BIN/perl $EMDROOT/sysman/admin/scripts/db/sgastop.pl $* fi
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de