oracle查看日志文件位置

 admin   2022-08-02 13:52   173 人阅读  0 条评论

[grid@rac1 ~]$ adrci

ADRCI: Release 19.0.0.0.0 - Production on Tue Aug 2 13:55:21 2022

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

ADR base = "/u01/app/grid"
adrci> show homes
ADR Homes:
diag/asm/user_root/host_1874443374_110
diag/asm/+asm/+ASM1
diag/asm/user_grid/host_1874443374_110
diag/crs/rac1/crs
diag/clients/user_root/host_1874443374_110
diag/clients/user_grid/host_1874443374_110
diag/tnslsnr/rac1/asmnet1lsnr_asm
diag/tnslsnr/rac1/listener_scan1
diag/tnslsnr/rac1/listener
diag/asmtool/user_root/host_1874443374_110
diag/asmtool/user_grid/host_1874443374_110
diag/afdboot/user_root/host_1874443374_110
diag/asmcmd/user_root/rac1
diag/asmcmd/user_grid/rac1
diag/asmcmd/user_oracle/rac1
diag/kfod/rac1/kfod
adrci>

需要什么日志,就到下面的目录下的trace目录下就有了

路径是ADR base+ADR Hmoes

比如监听日志就在/u01/app/grid/diag/tnslsnr/rac1/listener/trace 下

图片.png

本文地址:https://liuchunjie.top/?id=440
版权声明:本文为原创文章,版权归 admin 所有,欢迎分享本文,转载请保留出处!

 发表评论


表情

还没有留言,还不快点抢沙发?