首页 > 代码库 > 停下库

停下库

Stop csmsprod1, csmsprod2  DB

in 181

lsnrctl stop csmsprod1

ps -ef|grep LOCAL=NO |grep -v grep  |awk ‘{print $2}‘ | xargs kill -9

sqlplus / as sysdba

sql>shutdown immediate

 

in 182

lsnrctl stop csmsprod2

ps -ef|grep LOCAL=NO |grep -v grep  |awk ‘{print $2}‘ | xargs kill -9

sqlplus / as sysdba

sql>shutdown immediate

停下库