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/rpc_resp.ksh
#!/bin/ksh # # Usage rpc_resp.ksh EnvFile LsnrName # # where: # # EnvFile : Fully qualified environment file # LsnrName: Name of the reports listener # EnvFile=$1 LsnrName=$2 . $EnvFile # source environment file # check RPC listener process lsnrctl status $LsnrName | grep '^Uptime' > /dev/null &&\ echo "em_result=1" ||\ echo "em_result=0"
Copyright ©2021 || Defacer Indonesia