基于Nmon的PowerHA宕机故障分析Word文件下载.docx
- 文档编号:20585199
- 上传时间:2023-01-24
- 格式:DOCX
- 页数:14
- 大小:456.15KB
基于Nmon的PowerHA宕机故障分析Word文件下载.docx
《基于Nmon的PowerHA宕机故障分析Word文件下载.docx》由会员分享,可在线阅读,更多相关《基于Nmon的PowerHA宕机故障分析Word文件下载.docx(14页珍藏版)》请在冰豆网上搜索。
RealFree
thepercentageofrealpagesonthefreelist.
VirtualFreethepercentageofunallocatedvirtualslotsonthepagingspaces.
RealFree(MB)
theamountofmemoryonthefreelistinMbytes.
VirtualFree(MB)
theamountofunallocatedspaceonthepagingspaces.
RealTotal(MB)
thetotalamountofmemoryavailabletoAIX.
VirtualTotal(MB)
thetotalamountofspaceallocatedforpagingspaces.
Note:
youcancalculatetheamountofmemoryusedduringanintervalsimplybysubtractingthe
RealFree(MB)
valuefromthe
value.
Thiswill,however,includefilepages.
ThegraphontheMEMUSEsheetgivesamoreaccurateassessmentofmemoryusedbyprograms(computationalpages).
分项解析
空闲内存率自16点左右,开始大幅度下滑
自16:
02开始,实内存空闲率逐步下滑,到50%左右,自此后再没有增加
小结
自16点开始,内存空闲率在持续降低,也就是说,内存使用率在增长。
选项官方解释
Thegraphshowstheallocationofmemorysplitintothethreemajorcategories:
pagesusedbyuserprocesses,filesystemcache,andpagesusedbythesystem(kernel).
Process%
thepercentageofrealmemoryallocatedtouserprocesses
FSCache%
thepercentageofrealmemoryallocatedtofilesystemcache
System%
thepercentageofrealmemoryusedbysystemsegments
Free%
thepercentageofunallocatedrealmemory
User%
thepercentageofrealmemoryusedbynon-systemsegments
整体上内存的使用率趋于缓和趋势,system项(系统占用)没有增长,process项有平缓的增长趋于。
自16点左右开始,用户使用内存比在持续增加,其他选项未发生变化。
增加的内存使用中,主要是用户类型进程在持续增长。
NMON---memuse选项
Exceptfor%comp,thevaluesonthissheetarethesameaswouldbereportedbythevmtunecommand.
%numperm
thepercentageofrealmemoryallocatedtofilepages.
%minperm
valuespecifiedonthevmtunecommandorsystemdefaultof20%.Thiswillnormallybeconstantfortherununlessthevmtuneorrmsscommandsareusedduringcollection.
%maxperm
valuespecifiedonthevmtunecommandorsystemdefaultof80%.Thiswillnormallybeconstantfortherununlessthevmtuneorrmsscommandsareusedduringcollection.
minfree
theminimumnumberofpagesAIXistokeeponthefreelist.
Specifiedonthevmtunecommandorsystemdefaultofmaxfree-8.
maxfree
themaximumnumberofpagesAIXisstealinordertoreplenishthefreelist.Specifiedonthevmtunecommandorsystemdefault.
%comp
Thepercentageofrealmemoryallocatedtocomputationalpages.NMON_Analysercalculatesthisvalue.
Computationalpagesarethosebackedbypagespaceandincludeworkingstorageandprogramtextsegments.
Theyexcludedata,executableandsharedlibraryfiles.
TheAnalysergeneratestwographs.
Thefirstshowsthesplitbetweencomputationalandfilepagesbytimeofday.
Thesecondplotsthevaluesof
%numperm,%minperm,%maxpermand%comp.
If
fallsbelow
thencomputationalpageswillbestolen.
risesabove
%maxperm
thencomputationalpagescannotbestolen.
Lowvaluesforboth
and
indicatethatthesystemhasbeentunedforadatabaseserver.
YoumayalsowanttocheckthesettingofSTRICT_MAXPERMontheBBBPsheet(ifpresent).
从图中可看出,计算内存为发生明显变化,永久内存在16点后开始持续增长,并且增长的内存一直未释放。
如图所示,%numberper和%numclient类型内存,在16点后开始增长,到16点半左右趋于稳定,且后续增长的内存一直未释放。
自16点开始持续增长的内存应是用于了持久性内存,且为网络文件系统类型的(根据numclient得出)
NMON-net选项
Thissheetshowsthedatarates,inKbytes/sec,foreachnetworkadapterinthesystem(includingSPswitchifpresent).
Thisisthesameasproducedbythenetpmon–Oddcommand.
NMON_Analyseraddsonecolumnforeachadaptershowingthetotaldatarate(read+write)andtwocolumnsshowingTotalReadandTotalWrite.
NotethattheTotalWriteiscalculatedasanegativenumberforgraphing.
TheAnalysergeneratesthreegraphs.
ThefirstgraphshowstotalnetworktrafficbrokendownasTotal-ReadandTotal-Write.
ThewritesareshownbelowtheX-Axis.
Notetheareachartcanbeeasilyconvertedtoalinechartifrequired.
Simplyrightclickonthewhitespacewithinthechartarea,thenselectChartType>
Line>
OK.
如图所示,在16点左右的时间段en4网卡产生了大量的读流量
可从侧面印证numclient类型内存的大量使用。
ThissheethasthepagingstatisticsasrecordedbyNMON.
faults
thenumberofpagefaultspersecond.ThisisnotacountofpagefaultsthatgenerateI/O,becausesomepagefaultscanberesolvedwithoutI/O.
pgin
thetotalrate/secofpage-inoperationstobothpagingspaceandfilesystemsduringtheinterval.
pgout
thetotalrate/secofpage-outoperationstobothpagingspaceandfilesystemsduringtheinterval.
pgsin
therate/secofpage-inoperationsfrompagingspaceduringtheinterval.
Thisisthesameasthepivaluereportedbyvmstat.Ifpgsinisconsistentlyhigherthanpgsoutthismayindicatethrashing.
pgsout
therate/secofpage-outoperationstopagingspaceduringtheinterval.Thisisthesameasthepovaluereportedbyvmstat.
reclaims
fromNMON10onwardsthisfieldisthesameasthefrvaluereportedbyvmstatandrepresentsthenumberofpages/secfreedbythepage-replacementroutine.
scans
thenumberofpages/secexaminedbythepagereplacementroutine.
Thisisthesameasthesrvaluereportedbyvmstat.Pagereplacementisinitiatedwhenthenumberoffreepagesfallsbelowminfreeandstopswhenthenumberoffreepagesexceedsmaxfree.
cycles
thenumberoftimes/secthepagereplacementroutinehadtoscantheentirePageFrameTableinordertoreplenishthefreelist.
Thisisthesameasthecyvaluereportedbyvmstatbutnotethatvmstatreportsthisnumberasanintegerwhereasnmonreportsitasarealnumber.
fsin
calculatedbytheAnalyseraspgin-pgsinforgraphing
fsout
calculatedbytheAnalyseraspgout-pgsoutforgraphing
sr/fr
calculatedbytheAnalyserasscans/reclaimsforgraphing
NMON_Analyserproducestwographs.
Thefirstshowspagingoperationsto/frompagingspace.
Theidealherewouldbenomorethan5operations/secperpagespace(seetheBBBCsheetfordetails).
Thesecondgraphshowsthescan:
freerate.
Memorymaybeover-committedwhenthisfigureis>
4althoughyoualsoneedtoexaminetheMEMandPAGEsheetsaswell.
在16点时间段,有基于文件系统的密集换出操作
在16点左右pgout和fsout的密集性换出操作,在整体的时间段faults值很高。
16点左右的pageio可以是由于在这个时段有大量的numclient内存动作,可以解释。
而faults动作暂时保留
NMON-topas选项
Thissheetisonlygeneratedifyouspecifythe-t
flagontheNMONcommandline.
Theoutputissimilartothatproducedusingthepsvcommand.
Notethat,becauseofthelimitationofhavingonly65,000linesonasinglesheet,somedatamaybeomittedforverylargefilesandthismaymeanthatentirePIDsorevencommandsmaybemissingfromtheanalysis.
NotethatdataareonlypresentforprocessesthatconsumedasignificantamountofCPUduringaninterval.
TheTOPsheetdoesnotrepresentacompleteviewofthesystem.
NMON_Analyserdoesthefollowing:
·
reordersthecolumnsforeasierprocessing.
SortsthedataonthesheetintoCOMMANDnameorder-usingTIMEasaminorsortkey.
Createsatableattheendofthesheetsummarisingthedatabycommandnameandusedforgraphing.
Youcanseethedetailsectionbyscrollingtothetopofthesheet.
Thesummarytableislargelyobscuredbythegraphsandsoyouwillneedtomove(ordelete)themforeasierviewing.
PID
inthedetailsectionthisistheprocessIDofaspecificinvocationofacommand.
Inthesummarytablethisisthecommandname.
%CPU
inthedetailsectionthisistheutilisationofasingleprocessor(ratherthanofthesystem)bythatPIDduringtheinterval.InthesummarytablethisistheaverageamountofCPUusedbyallinvocationsofthecommandduringthecollectionperiod.
%Usr
inthedetailsectionthisistheaverageamountofUser-modeCPUusedbythatPIDduringtheinterval.
%Sys
inthedetailsectionthisistheaverageamountofKernel-modeCPUusedbythatPIDduringtheinterval.
Threads
thenumberof(software)threadsbeingusedbythiscommand.
Size
theaverageamountofpagingspace(inKbytes)allocatedforthedatasection(privatesegment+sharedlibrarydatapages)foroneinvocationofthiscommand.
ThisisthesameastheSIZEfigureonthepsvcommand.
NotethatifSizeisgreaterthanResDataitmeanssomeworkingsegmentpagesarecurrentlypagedout.
ResText
theaverageamountofrealmemory(inKbytes)usedforthecodesegmentsofoneinvocationofthiscommand.
Notethatmultipleconcurrentinvocationswillnormallysharethesepages.
ResData
theaverageamountofrealmemory(inKbytes)usedforthedatasegmentsofoneinvocationofthiscommand.
AmethodofcalculatingrealmemoryusageforacommandisResText+(ResData*N).
CharIO
thisisthecountofbytes/secbeingpassedviathereadandwritesystemcalls.Thebulkofthisisreadingandwritingtodisksbutalsoincludesdatato/fromterminals,socketsandpipes.UsethistoworkoutwhichprocessesaredoingtheI/O.
%RAM
thisisanindicationofwhatpercentageofrealmemorythiscommandisusing.Thisis(ResText+ResData)/Real
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 基于 Nmon PowerHA 故障 分析
![提示](https://static.bdocx.com/images/bang_tan.gif)