Edit D:\app\Administrator\product\11.2.0\dbhome_1\sysman\admin\scripts\checkCollectionOid.sh
#!/bin/sh # # $Header: checkCollectionOid.sh 28-nov-01.18:15:44 achoudha Exp $ # # checkCollectionOid.sh # # Copyright (c) Oracle Corporation 2001. All Rights Reserved. # # NAME # checkCollectionOid.sh - <one-line expansion of the name> # # DESCRIPTION # usage: ckeckinfocollection.sh <oracleHome> <port#> [<hostName>] # # NOTES # <other useful comments, qualifications, etc.> # # MODIFIED (MM/DD/YY) # achoudha 11/28/01 - # achoudha 11/28/01 - # achoudha 11/28/01 - # achoudha 11/27/01 - # achoudha 11/27/01 - Creation # LOGFILE=/tmp/oid$$.log if [ $# -lt 2 ] then echo "usage: ckeckinfocollection.sh <oracleHome> <port#> [<hostName>]" >> $LOGFILE 2>&1 exit 1 fi if [ $# -eq 3 ] then hostName=$3 fi oraHome=$1 portNo=$2 if [ $# -eq 3 ] then $oraHome/bin/ldapsearch -h $hostName -p $portNo -b "" -s base "objectclass=*" orclstatsflag|grep orclstatsflag |cut -f2 -d = >> $LOGFILE 2>&1 else $oraHome/bin/ldapsearch -p $portNo -b "" -s base "objectclass=*" orclstatsflag|grep orclstatsflag |grep orclstatsflag |cut -f2 -d = >> $LOGFILE 2>&1 fi cat $LOGFILE exit 0
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de