资源描述:
《hp-ux性能监控命令》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、HP-UX性能监控命令1,iostattheiostatcommandreportsI/Ostatisticsforeachactivediskonthesystem#iostat-txyx表示间隔的时间,y表示间隔显示的次数这个命令一般用于查看的参数是bps、sps、msps,一般来说msps的值都是1.02,psthepscommanddisplaysinformationaboutselectedprocessesrunningonthesystem3,sarthesarcommandcollectsandreportsonmanydifferentsystemactivities,in
2、cludingCPU,buffercache,disk,andothers#sar-u54HP-UXd270_1B.10.20E9000/861 11/15/0510:22:46 %usr %sys %wio %idle10:22:51 0 0 0 10010:22:56 0 0 0 10010:23:01 0 0 0 10010:23:06 0 0 0 100Average 0 0 0 100#
3、sar-d54HP-UXd270_1B.10.20E9000/861 11/15/0510:23:13 device %busy avque r+w/s blks/s avwait avserv10:23:1710:23:21 c2t6d0 0.50 0.50 0 8 1.11 18.4710:23:2510:23:29Average c2t6d0 0.12 0.50 0 2 1.11 18.474,time,timexthetimeandtimexcommandsreporttheelapsedtime,t
4、hetimespentinsystemmode,andthetimespentinusermode,foraspecificinvocationofaprocess5,topthetopcommanddisplaysareal-timelistofthetopCPUconsumersonthesystem#top-s10:间隔十秒显示top信息6,uptimetheuptimecommandshowshowlongasystemhasbeenup,andwhoisloggedinandwhattheyaredoing#uptime10:30am up14days,22:46, 1user, l
5、oadaverage:3.11,3.10,3.09#uptime-w10:32am up14days,22:48, 1user, loadaverage:3.10,3.10,3.09User tty login@ idle JCPU PCPU whatroot ttyp1 9:32am uptime-w7,vmstatthevmstatcommandreportsvirtualmemorystatisticsaboutprocesses,virtualmemory,andCPUactivity#vmstat
6、-n52VM memory page faults avm free re at pi po fr de sr in sy cs 2375 3128 1 0 0 0 0 0 0 161 38 33CPU cpu procs ussyid r b w 0 199 0 3 0 1528 3094 0 0 0 0 0
7、 0 0 142 40 32 0 0100 0 3 08,glance和gpm只支持版本11.09,MeasureWare和PerfView工具只支持版本10.x和11.x10,netstatthenetstatcommanddisplaysgeneralnetworkingstatistics#netstat-rnRoutingtablesDestinatio