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

系统运维

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

创新互联建站是一家集网站建设,墨江企业网站建设,墨江品牌网站建设,网站定制,墨江网站建设报价,网络营销,网络优化,墨江网站推广为一体的创新建站企业,帮助传统企业提升企业形象加强企业竞争力。可充分满足这一群体相比中小企业更为丰富、高端、多元的互联网需求。同时我们时刻保持专业、时尚、前沿,时刻以成就客户成长自我,坚持不断学习、思考、沉淀、净化自己,让我们为更多的企业打造出实用型网站。
bash-3.2#moremessages
Jul2218:51:46sunm4k_2fmd:[ID377184daemon.error]SUNW-MSG-ID:SUN4U-8000-2S,TYPE:Fault,VER:1,SEVERITY:Major
Jul2218:51:46sunm4k_2EVENT-TIME:20
Jul2218:51:46sunm4k_2PLATFORM:SUNW,SPARC-Enterprise,CSN:BDF1115195,HOSTNAME:sunm4k_2
Jul2218:51:46sunm4k_2SOURCE:cpumem-diagnosis,REV:1.7
Jul2218:51:46sunm4k_2EVENT-ID:ecf24522-5df2-ef85-8ead-a0af51b30d08
Jul2218:51:46sunm4k_2DESC:Thenumberofcorrectableerrorsassociatedwiththismemorymodulehasexceededacceptablelevels.
Jul2218:51:46sunm4k_2AUTO-RESPONSE:Pagesofmemoryassociatedwiththismemorymodulehavebeenremovedfromservice,uptoalimitwhichhasnowbeenreached.
Jul2218:51:46sunm4k_2IMPACT:Totalsystemmemorycapacityhasbeenreduced.
Jul2218:51:46sunm4k_2REC-ACTION:Use'fmadmfaulty'toprovideamoredetailedviewofthisevent.Pleaserefertotheassociatedreferencedocumentathttp://sun.
com/msg/SUN4U-8000-2Sforthelatestserviceproceduresandpoliciesregardingthisdiagnosis.

2、prtdiag ;注意查看status

bash-3.2#prtdiag-v
SystemConfiguration:OracleCorporationsun4uSPARCEnterpriseM4000Server
Systemclockfrequency:1012MHz
Memorysize:65536Megabytes

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

CPUCPURunL2$CPUCPU
LSBChipIDMHzMBImpl.Mask
---------------------------------------------------------------
0000,1,2,3,4,5,6,725305.57161
0018,9,10,11,12,13,14,1525305.57161
00216,17,18,19,20,21,22,2325305.57161
00324,25,26,27,28,29,30,3125305.57161

============================MemoryConfiguration============================

MemoryAvailableMemoryDIMM#ofMirrorInterleave
LSBGroupSizeStatusSizeDIMMsModeFactor
--------------------------------------------------------------
00A32768MBokay2048MB16no8-way
00B32768MBokay2048MB16no8-way

=========================IODevices=========================

IOLane/Frq
LSBTypeLPIDRvID,DvID,VnIDBDFStateAct,MaxNameModel
---------------------------------------------------------------------------------------------------------
LogicalPath
------------
00PCIe0bc,8532,10b52,0,0okay8,8pci-pciexclass,060400N/A
/pci@0,600000/pci@0

00PCIe0bc,8532,10b53,8,0okay8,8pci-pciexclass,060400N/A
/pci@0,600000/pci@0/pci@8

00PCIe0bc,8532,10b53,9,0okay1,8pci-pciexclass,060400N/A
/pci@0,600000/pci@0/pci@9

00PCIx08,125,10334,0,0okay100,133pci-pciexclass,060400N/A
/pci@0,600000/pci@0/pci@8/pci@0

00PCIx08,125,10334,0,1okay--,133pci-pciexclass,060400N/A
/pci@0,600000/pci@0/pci@8/pci@0,1

00PCIx02,50,10005,1,0okay--,133scsi-pci1000,50LSI,1064
/pci@0,600000/pci@0/pci@8/pci@0/scsi@1

00PCIx010,1648,14e45,2,0okay--,133network-pci14e4,1648N/A
/pci@0,600000/pci@0/pci@8/pci@0/network@2

00PCIx010,1648,14e45,2,1okay--,133network-pci14e4,1648N/A
/pci@0,600000/pci@0/pci@8/pci@0/network@2,1

00PCIe11,abcd,108e2,0,0okay8,8network-pciex108e,abcdSUNW,pcie-qgc
/pci@1,700000/network@0

00PCIe11,abcd,108e2,0,1okay8,8network-pciex108e,abcdSUNW,pcie-qgc
/pci@1,700000/network@0,1

00PCIe11,abcd,108e2,0,2okay8,8network-pciex108e,abcdSUNW,pcie-qgc
/pci@1,700000/network@0,2

00PCIe11,abcd,108e2,0,3okay8,8network-pciex108e,abcdSUNW,pcie-qgc
/pci@1,700000/network@0,3

00PCIe23,2432,10772,0,0okay4,4SUNW,qlc-pciex1077,2432QLE2462
/pci@2,600000/SUNW,qlc@0

00PCIe23,2432,10772,0,1okay4,4SUNW,qlc-pciex1077,2432QLE2462
/pci@2,600000/SUNW,qlc@0,1

00PCIe33,2432,10772,0,0okay4,4SUNW,qlc-pciex1077,2432QLE2462
/pci@3,700000/SUNW,qlc@0

00PCIe33,2432,10772,0,1okay4,4SUNW,qlc-pciex1077,2432QLE2462
/pci@3,700000/SUNW,qlc@0,1


====================HardwareRevisions====================

SystemPROMrevisions:
----------------------

OBP4.33.5.a2012/01/1315:05


===================EnvironmentalStatus===================

ModeswitchisinLOCKmode

===================SystemProcessorMode===================

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

bash-3.2#fmadmfaulty
--------------------------------------------------------------------------
TIMEEVENT-IDMSG-IDSEVERITY
--------------------------------------------------------------------------
Jul2218:51:46ecf24522-5df2-ef85-8ead-a0af51b30d08SUN4U-8000-2SMajor

Host:sunm4k_2
Platform:SUNW,SPARC-EnterpriseChassis_id:BDF1115195
Product_sn:

Faultclass:fault.memory.dimm95%
Affects:mem:///unum=/MBU_A/MEMB3/MEM2A
faultedbutstillinservice
FRU:mem:///unum=/MBU_A/MEMB3/MEM2A95%
faulty
SerialID.:522A45BE:M393T5660QZA-CE6

Description:Thenumberofcorrectableerrorsassociatedwiththismemory
modulehasexceededacceptablelevels.

Response:Pagesofmemoryassociatedwiththismemorymodulehavebeen
removedfromservice,uptoalimitwhichhasnowbeenreached.

Impact:Totalsystemmemorycapacityhasbeenreduced.

Action:Use'fmadmfaulty'toprovideamoredetailedviewofthisevent.
Pleaserefertotheassociatedreferencedocumentat
http://sun.com/msg/SUN4U-8000-2Sforthelatestservice
proceduresandpoliciesregardingthisdiagnosis.


名称栏目:Solaris简单系统巡检,日志查看
当前网址:http://scyanting.com/article/cjicjd.html