Search Results

Search: Posts Made By: ceciaide
5,677
Posted By cero
Hi, to connect to all 5 databases you have to...
Hi,
to connect to all 5 databases you have to put the sqlplus command inside the loop and have the variables ORACLE_SID and ORACLE_HOME assigned. Your script assigns ORACLE_SID 5 times, overwriting...
13,221
Posted By Don Cragun
Just using standard utilities, you could also...
Just using standard utilities, you could also try:
ps -fea | grep '[_]pmon[_]' | while read -r line
do printf '%s\n' "${line##*_pmon_}"
done
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy