Exadata 的诊断工具之 sundiag.sh

每个Exadata的数据库服务器和存储服务器节点都安装了sundiag.sh脚本(MOS:761868.1)

我们执行下:

[root@erpdb01 ~]# find /opt -name sundiag.sh
/opt/oracle.SupportTools/sundiag.sh
[root@erpdb01 ~]#

[root@erpdb01 oracle.SupportTools]# sh sundiag.sh
Oracle Exadata Database Machine - Diagnostics Collection Tool
Gathering Linux information

Skipping ILOM collection. Use the ilom or snapshot options, or login to ILOM
over the network and run Snapshot separately if necessary.

/tmp/sundiag_erpdb01_1338NML05G_2015_12_21_16_03
Generating diagnostics tarball and removing temp directory

==============================================================================
Done. The report files are bzip2 compressed in /tmp/sundiag_erpdb01_1338NML05G_2015_12_21_16_03.tar.bz2
==============================================================================
[root@erpdb01 oracle.SupportTools]# pwd
/opt/oracle.SupportTools
[root@erpdb01 oracle.SupportTools]#

文件 /tmp/sundiag_erpdb01_1338NML05G_2015_12_21_16_03.tar.bz2正常也就4M左右,解压后十多M不会很大

注:此BZ2包里包含很多的目录和文件,可以根据需要了解的信息直接搜索文件名

messages: 这个就时系统/var/log/messages文件的一个副本,该文件由syslog进程维护,

包括操作系统各类操作与健康情况的重要信息

Dec 19 19:25:06 erpdb01 last message repeated 4 times
Dec 19 19:26:10 erpdb01 last message repeated 4 times
Dec 19 19:27:14 erpdb01 last message repeated 4 times
Dec 19 19:28:18 erpdb01 last message repeated 4 times
Dec 19 19:29:22 erpdb01 last message repeated 4 times
Dec 19 19:30:26 erpdb01 last message repeated 4 times
Dec 19 19:31:30 erpdb01 last message repeated 4 times
Dec 19 19:32:34 erpdb01 last message repeated 4 times
Dec 19 19:33:38 erpdb01 last message repeated 4 times
Dec 19 19:34:08 erpdb01 last message repeated 2 times
Dec 19 19:53:36 erpdb01 auditd[9004]: Audit daemon rotating log files
Dec 20 00:24:56 erpdb01 ntpd[9339]: synchronized to LOCAL(0), stratum 10
Dec 20 00:50:44 erpdb01 ntpd[9339]: synchronized to 10.9.3.79, stratum 3
Dec 20 18:27:59 erpdb01 auditd[9004]: Audit daemon rotating log files
Dec 21 14:40:29 erpdb01 ntpd[9339]: synchronized to LOCAL(0), stratum 10
Dec 21 14:58:40 erpdb01 ntpd[9339]: synchronized to 10.9.3.79, stratum 3

dmesg:该文件由dmesg命令创建,包含来自缓冲区(kernel Ring Buffer)的内核诊断信息。<

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值