【11g】使用ADRCI实用程序查看报告

版权声明:所有文章禁止转载但是均可在生产中使用提高效率 https://blog.csdn.net/viviliving/article/details/90209459

使用ADRCI实用程序查看报告

您可以使用ADRCI实用程序创建和查看健康监视器检查器报告。

To create and view a checker report using ADRCI:

  1. 确保操作系统环境变量(如ORACLE_HOME)设置正确,然后在操作系统命令提示符处输入以下命令:

    ADRCI
    

    The utility starts and displays the following prompt:

    adrci>>
    

    您可以选择更改当前ADR home。使用SHOW HOMES命令列出所有ADR home,并使用SET HOMEPATH命令更改当前ADR home。有关更多信息,请参见Oracle数据库实用程序。

  2. Enter the following command:

    show hm_run
    

    这个命令列出了在ADR存储库中注册的所有检查器运行(存储在V$HM_RUN中)。

  3. 定位要为其创建报告的检查器运行,并注意检查器运行名称。REPORT_FILE字段包含一个文件名,如果该检查器运行时已经存在一个报告。否则,用以下命令生成报告:

    create report hm_run run_name
    
  4. To view the report, enter the following command:

    show report hm_run run_name
    

See Also:

"Automatic Diagnostic Repository (ADR)"

猜你喜欢

转载自blog.csdn.net/viviliving/article/details/90209459