基于nmon的PowerHA宕机分析Word格式文档下载.docx

上传人:b****1 文档编号:1479577 上传时间:2023-04-30 格式:DOCX 页数:16 大小:429.28KB
下载 相关 举报
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第1页
第1页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第2页
第2页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第3页
第3页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第4页
第4页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第5页
第5页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第6页
第6页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第7页
第7页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第8页
第8页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第9页
第9页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第10页
第10页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第11页
第11页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第12页
第12页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第13页
第13页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第14页
第14页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第15页
第15页 / 共16页
基于nmon的PowerHA宕机分析Word格式文档下载.docx_第16页
第16页 / 共16页
亲,该文档总共16页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

基于nmon的PowerHA宕机分析Word格式文档下载.docx

《基于nmon的PowerHA宕机分析Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《基于nmon的PowerHA宕机分析Word格式文档下载.docx(16页珍藏版)》请在冰点文库上搜索。

基于nmon的PowerHA宕机分析Word格式文档下载.docx

选项官方解释5

分项解析5

小结6

NMON---memuse选项6

选项官方解释6

分项解析7

小结8

NMON-net选项8

选项官方解释8

分项解析9

小结9

NMON—page选项9

选项官方解释9

分项解析10

小结12

NMON-topas选项12

选项官方解释12

Interpretingthe%ProcessorbyPIDchart14

分项解析15

小结16

总结17

概述

本分析文档是基于nmon命令抓取的日志来进行的,从0点开始,每两分钟抓取一次,共抓取24小时。

本文档采用了3月31日和4月1日的日志内容,主机为jddbs02

NMON—mem选项

选项官方注释

ThemaingraphonthissheetshowstheamountofRealFreememoryinMbytesbytimeofday.Thiswouldbethesameasdividingthefrevaluesreportedbyvmstatoverthesameintervalby256.Thesmallgraphshowstheamountofrealmemory.Thisisusefulindeterminingifdynamicreconfigurationhasbeenusedduringthecollectionperiod.

ForAIX,othercolumnsonthesheetareasfollows:

RealFreethepercentageofrealpagesonthefreelist.

VirtualFreethepercentageofunallocatedvirtualslotsonthepagingspaces.

RealFree(MB)theamountofmemoryonthefreelistinMbytes.

VirtualFree(MB)theamountofunallocatedspaceonthepagingspaces.

RealTotal(MB)thetotalamountofmemoryavailabletoAIX.

VirtualTotal(MB)thetotalamountofspaceallocatedforpagingspaces.

Note:

youcancalculatetheamountofmemoryusedduringanintervalsimplybysubtractingtheRealFree(MB)valuefromtheRealTotal(MB)value.Thiswill,however,includefilepages.ThegraphontheMEMUSEsheetgivesamoreaccurateassessmentofmemoryusedbyprograms(computationalpages).

分项解析

空闲内存率自16点左右,开始大幅度下滑

自16:

02开始,实内存空闲率逐步下滑,到50%左右,自此后再没有增加

小结

自16点开始,内存空闲率在持续降低,也就是说,内存使用率在增长。

NMON—memnew选项

选项官方解释

Thegraphshowstheallocationofmemorysplitintothethreemajorcategories:

pagesusedbyuserprocesses,filesystemcache,andpagesusedbythesystem(kernel).

Process%thepercentageofrealmemoryallocatedtouserprocesses

FSCache%thepercentageofrealmemoryallocatedtofilesystemcache

System%thepercentageofrealmemoryusedbysystemsegments

Free%thepercentageofunallocatedrealmemory

User%thepercentageofrealmemoryusedbynon-systemsegments

整体上内存的使用率趋于缓和趋势,system项(系统占用)没有增长,process项有平缓的增长趋于。

自16点左右开始,用户使用内存比在持续增加,其他选项未发生变化。

增加的内存使用中,主要是用户类型进程在持续增长。

NMON---memuse选项

Exceptfor%comp,thevaluesonthissheetarethesameaswouldbereportedbythevmtunecommand.

%numpermthepercentageofrealmemoryallocatedtofilepages.

%minpermvaluespecifiedonthevmtunecommandorsystemdefaultof20%.Thiswillnormallybeconstantfortherununlessthevmtuneorrmsscommandsareusedduringcollection.

%maxpermvaluespecifiedonthevmtunecommandorsystemdefaultof80%.Thiswillnormallybeconstantfortherununlessthevmtuneorrmsscommandsareusedduringcollection.

minfreetheminimumnumberofpagesAIXistokeeponthefreelist.Specifiedonthevmtunecommandorsystemdefaultofmaxfree-8.

maxfreethemaximumnumberofpagesAIXisstealinordertoreplenishthefreelist.Specifiedonthevmtunecommandorsystemdefault.

%compThepercentageofrealmemoryallocatedtocomputationalpages.NMON_Analysercalculatesthisvalue.Computationalpagesarethosebackedbypagespaceandincludeworkingstorageandprogramtextsegments.Theyexcludedata,executableandsharedlibraryfiles.

TheAnalysergeneratestwographs.Thefirstshowsthesplitbetweencomputationalandfilepagesbytimeofday.Thesecondplotsthevaluesof%numperm,%minperm,%maxpermand%comp.

If%numpermfallsbelow%minpermthencomputationalpageswillbestolen.If%numpermrisesabove%maxpermthencomputationalpagescannotbestolen.Lowvaluesforboth%minpermand%maxpermindicatethatthesystemhasbeentunedforadatabaseserver.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类型内存的大量使用。

NMON—page选项

ThissheethasthepagingstatisticsasrecordedbyNMON.

faultsthenumberofpagefaultspersecond.ThisisnotacountofpagefaultsthatgenerateI/O,becausesomepagefaultscanberesolvedwithoutI/O.

pginthetotalrate/secofpage-inoperationstobothpagingspaceandfilesystemsduringtheinterval.

pgoutthetotalrate/secofpage-outoperationstobothpagingspaceandfilesystemsduringtheinterval.

pgsintherate/secofpage-inoperationsfrompagingspaceduringtheinterval.Thisisthesameasthepivaluereportedbyvmstat.Ifpgsinisconsistentlyhigherthanpgsoutthismayindicatethrashing.

pgsouttherate/secofpage-outoperationstopagingspaceduringtheinterval.Thisisthesameasthepovaluereportedbyvmstat.

reclaimsfromNMON10onwardsthisfieldisthesameasthefrvaluereportedbyvmstatandrepresentsthenumberofpages/secfreedbythepage-replacementroutine.

scansthenumberofpages/secexaminedbythepagereplacementroutine.Thisisthesameasthesrvaluereportedbyvmstat.Pagereplacementisinitiatedwhenthenumberoffreepagesfallsbelowminfreeandstopswhenthenumberoffreepagesexceedsmaxfree.

cyclesthenumberoftimes/secthepagereplacementroutinehadtoscantheentirePageFrameTableinordertoreplenishthefreelist.Thisisthesameasthecyvaluereportedbyvmstatbutnotethatvmstatreportsthisnumberasanintegerwhereasnmonreportsitasarealnumber.

fsincalculatedbytheAnalyseraspgin-pgsinforgraphing

fsoutcalculatedbytheAnalyseraspgout-pgsoutforgraphing

sr/frcalculatedbytheAnalyserasscans/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-tflagontheNMONcommandline.Theoutputissimilartothatproducedusingthepsvcommand.Notethat,becauseofthelimitationofhavingonly65,000linesonasinglesheet,somedatamaybeomittedforverylargefilesandthismaymeanthatentirePIDsorevencommandsmaybemissingfromtheanalysis.

NotethatdataareonlypresentforprocessesthatconsumedasignificantamountofCPUduringaninterval.TheTOPsheetdoesnotrepresentacompleteviewofthesystem.

NMON_Analyserdoesthefollowing:

•reordersthecolumnsforeasierprocessing.

•SortsthedataonthesheetintoCOMMANDnameorder-usingTIMEasaminorsortkey.

•Createsatableattheendofthesheetsummarisingthedatabycommandnameandusedforgraphing.

Youcanseethedetailsectionbyscrollingtothetopofthesheet.Thesummarytableislargelyobscuredbythegraphsandsoyouwillneedtomove(ordelete)themforeasierviewing.

PIDinthedetailsectionthisistheprocessIDofaspecificinvocationofacommand.Inthesummarytablethisisthecommandname.

%CPUinthedetailsectionthisistheutilisationofasingleprocessor(ratherthanofthesystem)bythatPIDduringtheinterval.InthesummarytablethisistheaverageamountofCPUusedbyallinvocationsofthecommandduringthecollectionperiod.

%UsrinthedetailsectionthisistheaverageamountofUser-modeCPUusedbythatPIDduringtheinterval.

%SysinthedetailsectionthisistheaverageamountofKernel-modeCPUusedbythatPIDduringtheinterval.

Threadsthenumberof(software)threadsbeingusedbythiscommand.

Sizetheaverageamountofpagingspace(inKbytes)allocatedforthedatasection(privatesegment+sharedlibrarydatapages)foroneinvocationofthiscommand.ThisisthesameastheSIZEfigureonthepsvcommand.NotethatifSizeisgreaterthanResDataitmeanssomeworkingsegmentpagesarecurrentlypagedout.

ResTexttheaverageamountofrealmemory(inKbytes)usedforthecodesegmentsofoneinvocationofthiscommand.Notethatmultipleconcurrentinvocationswillnormallysharethesepages.

ResDatatheaverageamountofrealmemory(inKbytes)usedforthedatasegmentsofoneinvocationofthiscommand.AmethodofcalculatingrealmemoryusageforacommandisResText+(ResData*N).

CharIOthisisthecountofbytes/secbeingpassedviathereadandwritesystemcalls.Thebulkofthisisreadingandwritingtodisksbutalsoincludesdatato/fromterminals,socketsandpipes.UsethistoworkoutwhichprocessesaredoingtheI/O.

%RAMthisisanindicationofwhatpercentageofrealmemorythiscommandisusing.Thisis(ResText+ResDa

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 医药卫生 > 预防医学

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2