温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Solaris简单系统巡检,日志查看

发布时间:2020-07-02 11:49:38 来源:网络 阅读:5354 作者:John_Lu08 栏目:系统运维

1、查看message日志;查看是否有error

bash-3.2# more messages
Jul 22 18:51:46 sunm4k_2 fmd: [ID 377184 daemon.error] SUNW-MSG-ID: SUN4U-8000-2S, TYPE: Fault, VER: 1, SEVERITY: Major
Jul 22 18:51:46 sunm4k_2 EVENT-TIME: 20
Jul 22 18:51:46 sunm4k_2 PLATFORM: SUNW,SPARC-Enterprise, CSN: BDF1115195, HOSTNAME: sunm4k_2
Jul 22 18:51:46 sunm4k_2 SOURCE: cpumem-diagnosis, REV: 1.7
Jul 22 18:51:46 sunm4k_2 EVENT-ID: ecf24522-5df2-ef85-8ead-a0af51b30d08
Jul 22 18:51:46 sunm4k_2 DESC: The number of correctable errors associated with this memory module has exceeded acceptable levels.
Jul 22 18:51:46 sunm4k_2 AUTO-RESPONSE: Pages of memory associated with this memory module have been removed from service, up to a limit which has now been reached.
Jul 22 18:51:46 sunm4k_2 IMPACT: Total system memory capacity has been reduced.
Jul 22 18:51:46 sunm4k_2 REC-ACTION: Use 'fmadm faulty' to provide a more detailed view of this event. Please refer to the associated reference document at http://sun.
com/msg/SUN4U-8000-2S for the latest service procedures and policies regarding this diagnosis.


2、prtdiag ;注意查看status

bash-3.2# prtdiag -v
System Configuration:  Oracle Corporation  sun4u SPARC Enterprise M4000 Server
System clock frequency: 1012 MHz
Memory size: 65536 Megabytes

==================================== CPUs ====================================

      CPU                 CPU                         Run    L2$    CPU   CPU 
LSB   Chip                 ID                         MHz     MB    Impl. Mask
---   ----  ----------------------------------------  ----   ---    ----- ----
 00     0      0,   1,   2,   3,   4,   5,   6,   7   2530   5.5        7  161
 00     1      8,   9,  10,  11,  12,  13,  14,  15   2530   5.5        7  161
 00     2     16,  17,  18,  19,  20,  21,  22,  23   2530   5.5        7  161
 00     3     24,  25,  26,  27,  28,  29,  30,  31   2530   5.5        7  161

============================ Memory Configuration ============================

       Memory  Available           Memory     DIMM    # of  Mirror  Interleave
LSB    Group   Size                Status     Size    DIMMs Mode    Factor    
---    ------  ------------------  -------    ------  ----- ------- ----------
 00    A        32768MB            okay       2048MB     16 no       8-way
 00    B        32768MB            okay       2048MB     16 no       8-way

========================= IO Devices =========================

    IO                                                Lane/Frq                                                       
LSB Type  LPID   RvID,DvID,VnID       BDF       State Act,  Max   Name                           Model               
--- ----- ----   ------------------   --------- ----- ----------- ------------------------------ --------------------
    Logical Path
    ------------
00  PCIe  0      bc, 8532, 10b5       2,  0,  0  okay     8,    8  pci-pciexclass,060400          N/A                 
    /pci@0,600000/pci@0                                                                                 

00  PCIe  0      bc, 8532, 10b5       3,  8,  0  okay     8,    8  pci-pciexclass,060400          N/A                 
    /pci@0,600000/pci@0/pci@8                                                                           

00  PCIe  0      bc, 8532, 10b5       3,  9,  0  okay     1,    8  pci-pciexclass,060400          N/A                 
    /pci@0,600000/pci@0/pci@9                                                                           

00  PCIx  0       8,  125, 1033       4,  0,  0  okay   100,  133  pci-pciexclass,060400          N/A                 
    /pci@0,600000/pci@0/pci@8/pci@0                                                                     

00  PCIx  0       8,  125, 1033       4,  0,  1  okay    --,  133  pci-pciexclass,060400          N/A                 
    /pci@0,600000/pci@0/pci@8/pci@0,1                                                                   

00  PCIx  0       2,   50, 1000       5,  1,  0  okay    --,  133  scsi-pci1000,50                LSI,1064            
    /pci@0,600000/pci@0/pci@8/pci@0/scsi@1                                                              

00  PCIx  0      10, 1648, 14e4       5,  2,  0  okay    --,  133  network-pci14e4,1648           N/A                 
    /pci@0,600000/pci@0/pci@8/pci@0/network@2                                                           

00  PCIx  0      10, 1648, 14e4       5,  2,  1  okay    --,  133  network-pci14e4,1648           N/A                 
    /pci@0,600000/pci@0/pci@8/pci@0/network@2,1                                                         

00  PCIe  1       1, abcd, 108e       2,  0,  0  okay     8,    8  network-pciex108e,abcd         SUNW,pcie-qgc       
    /pci@1,700000/network@0                                                                             

00  PCIe  1       1, abcd, 108e       2,  0,  1  okay     8,    8  network-pciex108e,abcd         SUNW,pcie-qgc       
    /pci@1,700000/network@0,1                                                                           

00  PCIe  1       1, abcd, 108e       2,  0,  2  okay     8,    8  network-pciex108e,abcd         SUNW,pcie-qgc       
    /pci@1,700000/network@0,2                                                                           

00  PCIe  1       1, abcd, 108e       2,  0,  3  okay     8,    8  network-pciex108e,abcd         SUNW,pcie-qgc       
    /pci@1,700000/network@0,3                                                                           

00  PCIe  2       3, 2432, 1077       2,  0,  0  okay     4,    4  SUNW,qlc-pciex1077,2432        QLE2462             
    /pci@2,600000/SUNW,qlc@0                                                                            

00  PCIe  2       3, 2432, 1077       2,  0,  1  okay     4,    4  SUNW,qlc-pciex1077,2432        QLE2462             
    /pci@2,600000/SUNW,qlc@0,1                                                                          

00  PCIe  3       3, 2432, 1077       2,  0,  0  okay     4,    4  SUNW,qlc-pciex1077,2432        QLE2462             
    /pci@3,700000/SUNW,qlc@0                                                                            

00  PCIe  3       3, 2432, 1077       2,  0,  1  okay     4,    4  SUNW,qlc-pciex1077,2432        QLE2462             
    /pci@3,700000/SUNW,qlc@0,1                                                                          


==================== Hardware Revisions ====================

System PROM revisions:
----------------------

OBP 4.33.5.a 2012/01/13 15:05


=================== Environmental Status ===================

Mode switch is in LOCK mode 

=================== System Processor Mode ===================


3、fmadm; 查看输出,正常情况下是无输出的;

bash-3.2# fmadm faulty
--------------- ------------------------------------  -------------- ---------
TIME            EVENT-ID                              MSG-ID         SEVERITY
--------------- ------------------------------------  -------------- ---------
Jul 22 18:51:46 ecf24522-5df2-ef85-8ead-a0af51b30d08  SUN4U-8000-2S  Major     

Host        : sunm4k_2
Platform    : SUNW,SPARC-Enterprise     Chassis_id  : BDF1115195
Product_sn  : 

Fault class : fault.memory.dimm 95%
Affects     : mem:///unum=/MBU_A/MEMB3/MEM2A
                  faulted but still in service
FRU         : mem:///unum=/MBU_A/MEMB3/MEM2A 95%
                  faulty
Serial ID.  : 522A45BE:M3 93T5660QZA-CE6 

Description : The number of correctable errors associated with this memory
              module has exceeded acceptable levels.

Response    : Pages of memory associated with this memory module have been
              removed from service, up to a limit which has now been reached.

Impact      : Total system memory capacity has been reduced.

Action      : Use 'fmadm faulty' to provide a more detailed view of this event.
              Please refer to the associated reference document at
              http://sun.com/msg/SUN4U-8000-2S for the latest service
              procedures and policies regarding this diagnosis.



向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI