ITPub博客

首页 > 数据库 > Oracle > [20191113]一行命令了解rac运行状态.txt

[20191113]一行命令了解rac运行状态.txt

原创 Oracle 作者:lfree 时间:2019-11-13 10:51:10 1 删除 编辑

[20191113]一行命令了解rac运行状态.txt

$ srvctl config | xargs -I{} bash -c "echo ;srvctl status service -d {} ;echo ; srvctl status database -d {}  "

Service orcl is running on instance(s) xxxxx1

Instance xxxxx1 is running on node xxxxx1
Instance xxxxx2 is running on node xxxxx2



来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/267265/viewspace-2663852/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
熟悉oracle相关技术,擅长sql优化,rman备份与恢复,熟悉linux shell编程。

注册时间:2008-01-03

  • 博文量
    4006
  • 访问量
    7971832