查看oracle 数据库状态

1.通过 lsnrctl status 命令查看实例的状态

hs-prd:oraprd 17> lsnrctl status

LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.2.0 – Production on 04-JA
2012 04:37:52

Copyright (c) 1991, 2005, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
————————
Alias                     LISTENER
Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0
.0 – Production
Start Date                11-OCT-2011 07:46:24
Uptime                    84 days 20 hr. 51 min. 28 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      ON
Listener Parameter File   /oracle/PRD/102_64/network/admin/listener.ora
Listener Log File         /oracle/PRD/102_64/network/log/listener.log
Listening Endpoints Summary…
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hs-prd)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=PRD.WORLD)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=PRD)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hs-prd)(PORT=1527)))
Services Summary…
Service “PLSExtProc” has 1 instance(s).
  Instance “PLSExtProc”, status UNKNOWN, has 1 handler(s) for this service…
Service “PRD” has 1 instance(s).
  Instance “PRD”, status UNKNOWN, has 1 handler(s) for this service…
The command completed successfully

    原文作者:wxgnolux
    原文地址: https://blog.csdn.net/fangkailove/article/details/7173868
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞