MINI
C:
/
app
/
Administrator
/
product
/
11.2.0
/
dbhome_1
/
sysman
/
admin
/
scripts
/
Upload File:
files >> C:/app/Administrator/product/11.2.0/dbhome_1/sysman/admin/scripts/checkCollectionOid.pl
# $Header: checkCollectionOid.pl 25-jun-2002.10:02:54 xxu Exp $ # # checkCollectionOid.pl # # Copyright (c) 2001, 2002, Oracle Corporation. All rights reserved. # # NAME # checkCollectionOid.pl - <one-line expansion of the name> # # DESCRIPTION # Checks the status of the oid metric collection # # Usage: getOIDver.pl $ORACLE_HOME # # MODIFIED (MM/DD/YY) # xxu 06/25/02 - remove /usr/local/bin/perl # achoudha 12/07/01 - # achoudha 12/07/01 - # achoudha 12/07/01 - Creation # $ENV{ORACLE_HOME} = $ARGV[0]; print "$ARGV[0]/bin/ldapsearch -h $ARGV[2] -p $ARGV[1] -b \"\" -s base \"objectclass=*\" orclstatsflag|grep orclstatsflag |cut -f2 -d =\n" ; $VAL = `$ARGV[0]/bin/ldapsearch -h $ARGV[2] -p $ARGV[1] -b \"\" -s base \"objectclass=*\" orclstatsflag|grep orclstatsflag |cut -f2 -d =`; print("$VAL"); exit 0;
Copyright ©2021 || Defacer Indonesia