3d基本走势图(专业版)

性能监控分析总结(Loadrunner Analysi或unix、linux命令分析)

                            性能监控分析总结Loadrunner Analysi或unix、linux命令分析)

yi、cpu

3d基本走势图(专业版)1、average loadpingjunfuzai

fenxifangfa1:

3d基本走势图(专业版)shangyifenzhongtongshichuyujiuxuzhuangtaidepingjunjinchengshu,xiaoyucpugeshu*hexinshu*0.7,ruguozheigeshuzidayucpudeshuju,zhishaoyouyigexianchengyaodengdaicpu;ruguozheigeshuzhichuyicpudeshumu,jieguogaoyu5deshihoubiaomingxitongzaichaofuheyunzhuanle,jiuxiangdangyuzhixingvmstatchaxunchulaiderliedezhi(runable threads),pingjunzhichixudayu2,neimebiaoshicpucunzaipingjing。

fenxi2:

yibanlaishuozhiyaodangqianhuodongjinchengshubudayu3neimexitongdexingnengshilianghaode,ruguomeigecpuderenwushudayu5,neimejiubiaoshizheitaijiqidexingnengyouyanzhongwenti。liru:xitongyou2gecpu,lrjiankongdaopingjunfuzaiwei8.13,neimeqimeigecpudedangqianrenwushuwei8.13/2=4.065,zheibiaoshigaixitongdexingnengshikeyijieshoude。

zongheshu=wulicpugeshu x meikewulicpudeheshu

zongluojicpugeshu=wulicpugeshu x meikewulicpudeheshuxchaoxianchengshu

3d基本走势图(专业版)(1)chakanwulicpugeshu:

3d基本走势图(专业版)cat  /proc/cpuinfo | grep "physical id" | sort  | uniq | wc –l

(2)meigewulicpuzhongcoredegeshu(jiheshu)

3d基本走势图(专业版)cat  /proc/cpuinfo | grep "cpu cores" | uniq

3d基本走势图(专业版)51.96.11.26shang4gewulicpu,meigewulicpu 6gehexinji24c

(3)chakanhexinshu:

cat  /proc/cpuinfo | grep "core id" | sort | wc –l

(4)chakanluojicpugeshu:

3d基本走势图(专业版)cat  /proc/cpuinfo|grep "processor"|wc –l

3d基本走势图(专业版)(5)shifouweichaoxiancheng?ruguoyoulianggeluojicpujuyouxiangtongde“core id”,neimechaoxianchengshidakaide。meigewulicpuzhongluojicpu(kenengshicore,threadshuoboth)degeshu。

(6)chakanneicunxinximinglingcat  /proc/meminfo

2、cpu utilization (unix kernel statistics)  cpuliyonglv

3d基本走势图(专业版)cpudeshiyongshijianbaifenbi,ruguozai85%yishang,zeshuomingcpuchengweiziyuanpingjing,gaixiangzhibiaodehelishiyongfanweiwei60%-70%,ruozhibiaojiaodizeyiweizheziyuandelangfei。

cpuliyonglv=xitongcpuliyonglv+yonghucpuliyonglv

er、neicun

1、Paging rate 内存页交换速率

3d基本走势图(专业版)meimiaoduruwulineicunhuoxieruyemianwenjiandeyeshu,ruguochixuzaijibai,kenengyaojiadaneicunle。

3d基本走势图(专业版)2、ruguoyejiaohuanlvtigao,zecpuxiaohaoyehuixiangyingzengjia,ruguogaizhiouerzougao,zebiaomingdangshiyouxianchengjingzhengruguochixuhengao,zeneicunkenengshipingjing。

3、paging-in rate  meimiaoxieruneicunyehecongwulineicunzhongduchuyedeshumu。ruguogaizhiouerzougao,biaomingdangshiyouxianchengjingzhengneicun,ruguochixuhengao,zeneicunkenengshipingjing。xierushicongyingpanxieruneicun。

4、paging-out rate xiechuneicunyesulv,meimiaocongwulineicunxiedaoyewenjianzhongdeneicunyeshumuhecongwulineicunzhongshanchudiaodeneicunyeshumu。xiechushicongneicunxieruyingpan。

3d基本走势图(专业版)5、swape-in rate  swape- out rate

3d基本走势图(专业版)zhengzaijiaohuandejinchengshu   jiaohuanqushurushuchudejinchengshumu,ruojiaohuanfenqujinchengjiaohuanpinfan,yefanyinglexitongneicunziyuandejinzhang。

jiaohuanfenquswapdegainian

3d基本走势图(专业版)linux/unixjiaohuanfenqujiuxiangdangyuwindowszhongdexunineicun。swapkongjiandezuoyongkejiandandemiaoshuwei:dangxitongdewulineicunbugouyongdeshihou,xuyaojiangwulineicunzhongdeyibufenkongjianshifangchulai,yigongdangqianyunxingdechengxushiyong。naxiebeishifangchulaidekongjiankenenglaiziyixiehenzhangshijianmeiyoucaozuodechengxu,zheixiebeishifangdekongjianbeilinshibaocundaoswapkongjianzhong,dengdaoneixiechengxuyaoyunxingshi,zaicongswapzhonghuifubaocundeshujudaoneicunzhong,zheiyang,xitongzongshizaiwulineicunbugoushi,caijinxingswapjiaohuan。

san、cipan

3d基本走势图(专业版)1、disk traffic  rate of disk transfer  cipanchuanshusulv

3d基本走势图(专业版)yingpanchuanshusulvshiyingpanduqushujudesudu,danweitongchangweimb/s。wulicipanyuneicunjiaohuanshidechuanshusudu。

xiangdangyuiostat –d  3nshuchudetpshuozheiostat  –x  3der/s+w/s

iostat  –d  3n:

3d基本走势图(专业版)iostat  –x  3der/s+w/s (meimiaodeduxiecishu)

2、iostat  -x 1

%iowait:cpuyongyudengdaiioqingqiuwanchengdeshijian

await:pingjunmeicishebeii/ocaozuodedengdaishijian(haomiao)ji(ruse+wuse)/(rio+wio)

avgrq-sz:pingjunmeiciiocaozuodeshujuliang

3d基本走势图(专业版)avgqu-sz:pingjundengdaichulideioqingqiuduiliezhangdu

svctm:pingjunmeiciioqingqiudechulishijian

3d基本走势图(专业版)%util :caijizhouqineiyongyuiocaozuodeshijianbilvjiioduiliefeikongdeshijianbilv

yimiaozhongyoubaifenzhiduoshaodeshijianyongyui/ocaozuo,huozheshuoyimiaozhongyouduoshaoshijiani/oduilieshifeikongde,jiuse/1000,(usededanweiweihaomiao),ruguo%utiljiejin100% ,shuomingi/ochanshengdeqingqiutaiduo,i/oxitongyijingmanfuhe,gaicipankenengcunzaipingjing。

3d基本走势图(专业版)iostat –x-k-d 1

3、vmstat

3d基本走势图(专业版)vmstat  2  meige2miaocaijiyici

rlie:zaiyunxingduiliezhongdengdaidejinchengshu

blie:zaidengdaiziyuandejinchengshu,biruzhengzaidengdaiiohuozheneicunjiaohuan

bi:congkuaishebeidurushujudezongliang,kuaishebeizhixitongshangsuoyoudecipanjiqitakuaishebei。

bo: kuaishebeixierushujudezongliang。liruduquwenjian,bojiuyaodayu0,biyuboyibandouyaojiejin0,buranjiushiioguoyupinfan,xuyaodiaozheng。

3d基本走势图(专业版)wa:iodengdaisuozhanyongdecpushijianbaifenbi

si、wangluo

3d基本走势图(专业版)1、incoming packets error rate shujubaojieshoucuowulv

jieshouyitaiwangshujubaoshimeimiaozhongjieshoudaodecuowushu,kenengshiwangluoshebei(wangka、wangxian、luyoushebeideng)gaizhijiaodahuiyingxiangxiangyingshijian,shenzhichaoshi。

2、incoming packets rate shujubaojieshousudu

meimiaozhongchuanrudeyitaiwangshujubaoshu

3d基本走势图(专业版)3、outgoing packets rate shujubaofasongsudu

3d基本走势图(专业版)meimiaozhongchuanchudeyitaiwangshujubaoshu

3d基本走势图(专业版)daikuanwei1gbs hejichuanshusulvwei128mb/s,tuntulv73178737byte,dayue73mb。

 

wu、sql

tongguochuangjianshijianjiankongqilaikanchakanhaoshizuizhangdesql

chakanjiankongkaiguanshezhi

db2 get monitor switches

ruhedakaishijianjiankongqi

db2=>update monitor switches using statement on

jiangjiankongdejishuqiqingling:

3d基本走势图(专业版)db2 –v reset monitor all  

chuangjianshijianjiankongqi:

db2=>create event monitor sql_trace for statements write to table

chuangjianwanhouwokankeyikandaodb2zidongshengchenglexiamianzheizhangbiao:

db2 list tables for all|find /i “stmt”

stmt_sql_trace

(zhuyixiugaigaibiaodebiaokongjian)

db2 => set event monitor sql_trace state=1

zhidaojiankongjieshu

guanbijiankongqi:

db2=>set event monitor sql_trace state=0

db2=>terminate

qingkongshijianjianshiqi

db2 flush event monitor sql_trace

shanchushijianjiankongqi

db2 “drop event monitor sql_trace”

fenxishuchu

xuyaoqueding4leisqlyuju。zaizhixingyixiachaxunyiquedingzheixieyujuzhiqian,zaishujukupeizhicanshuzhong,zhishaoyaoweiyingyongchengxuduidaxiao(applheapsz)fenpei256geyemian。

3d基本走势图(专业版)anzhaozhixingshijianjiangxupailiezhixinghaoshizuizhangdesqlyuju。weilequedingzheixieyuju,shiyongxiamiandesql selectyuju:

select * from (select stmt_text,(stop_time-start_time) executiontime,stop_time,start_time from stmt_sql_trace where stmt_operation not in (7,8,9,19)) aaa order by executiontime desc;

select stmt_text,count(*),avg (timestampdiff(2,char(stop_time-start_time))) avg from stmt_sql_trace3 where stmt_operation not in (7,8,9,19) group by stmt_text order by avg desc

dangqiansql:

3d基本走势图(专业版)select * from sysibmadm.mon_current_sql;

select * from sysibmadm.top_dynamic_sql;

 

 

 

 

 

 

 

 

 

 

 

版权声明:本文为博主原创文章,遵循版权协议,转载请附上原文出处链接和本声明。
本文链接:
2元中国福利彩票怎么看 2元中国福利彩票的买法 2元买彩票选几个数字 2元彩票 2元就可以打1毛的斗地主棋牌 2元彩票刮刮乐 2元就可以打1毛的炸金花棋牌 2元彩不错 2元彩是值得您信赖的 2元彩票网体彩排列三