???????windows??
????1????????????????????
????1??????????windows???????????????????Remote Procedure Call(RPC) ??RemoteRegistry Service (???—)???? ??????services.msc??????????????)??
????2??????????WINDOWS??????:????????????????->?????????->???? ???????????C$????????????(????????????????)??
????3??????LR???????????—?????У????? \?????????IPC$??????????????????????????????????????C??????????????????????????????????????LR??????????LR?????WINDOWS???????м?????й??????????????С???
????????????в???3?????????\?????????IPC$???????????administrator???????????????????????????LR?????????????????“?????????·??”????????????????????????????????????????????guest??
????????????????????????????????????? -> ?????????? -> ?????? -> "?????????????????????????"???????????£?XP?????????"??????"?????????????????????????Guest?????????guest?????м??????????????????????“????”??????????????administrator???????????????????в???3?????????????????????????????????????C????
????????computer browser??????????????computer browser
???????windows 2003??????????????????????????
?????????????????????????????????lr?????????????
???????????????????administrator???й??????????????????????????????????????????????????????
?????п???????????????????????????????
?????????????????2008-02-29 07:46?????????????????"???"-->"????"?????????"????"?????????"dcpromo"??????"???"??? --> ????"Active Directory?????" ????? ????"?????"????"???Active Directory"?????????"??????????????е????????????"??????"?????"??????"??????"???????"?????" ??????"???????????????(???????????????)??????"?????"??????"?????????"???????"????"??"???????"???????????????(??)??????"?????"?????????"??"???????????????????? "?????"??????????????????????????????????????????????????"???Active Directory??????"?????У?????"???"???????????????.???????????????????????????Ч
???????????????е??????????????????????????????ò?????????????????????????????windows?????“????????????”?μ?“?????????”??????????????????????????—??????—?????????????????????ú??????????????????cpu??memory??disk???????????????????????????LR????????
????2????LR????windows?????
??????controller ?У?Windows Resources???????????????AddMeasurements?????????windows??IP???????????????????????????????????????????
????3??Windows ??????????
????Memory??Available Mbytes ?????????????????λ Mbytes?????????10% ???????????????Process/Private bytes ?? Process/working set???????????????????Available Mbytes???????????????й???
????Processor??%Processor Time CPU ????????????????????????????????????????? CPU ????????????????????????????????????????? 90%?????????????????????????????????????????????????ü??????? 0 ?? x ???????
????Processor Queue Length??????????ж??е????????С??2?????????????????????????2??
????Context Switches/sec??????л???????5000*CPU??????10000*CPU?????У??????????л???????????????????CPU?????????Context Switches/sec??15000???????????ó???????л?????
???????Context Switches/sec??%Privileged Time???ж????????л??????????????????????40%???????????л?????????????????ü????????????????????????л?
????Network Interface??Bytes Total/sec ????????????????????????????????ж????????????????????????????ü???????????????????????????10M=1.28MBps=1280kBps. Kilobytes per second ??kBps.??Bytes Total/sec???????λ??Bytes per second??????????????????С??50%
????Disk Time??Physical_disk_total????%DPC Time(Processor) & % Processor Time(Processor)?????????????????????????????????????????Disk Time?????????????IO?????????????????Disk Time??????2.0???????г???3.0???????г????Current Disk Queue??????IO????? Disk Bytes/sec??
????page read/sec:?????????page/sec?????????????????????????????????????????????>5. ?????á??????????????????????????
????Physical Disk % Disk Time
????Physical Disk Avg.Disk Queue Length
???????磬????Page Reads/sec ?? % Disk Time ?? Avg.Disk Queue Length??????????????????????? % Disk Time?? Avg.Disk Queue Length?????????????д???????????????????г????????????????????δ?????????治??

????4. Web page breakdown
????Average Transaction Response Time??Σ????????????????breakdown????????????????????????????“Web Page break down for xxx”
?????????
????LoadRunner?ò??????????????????????????????????????????DNS Resolution??Connection?? SSL Handling?? FTP Authentication?? First Buffer?? Receive?? Client?? Error??
?????????????????????DNS Resolution????????????????????????????
?????????????????????Receive?????????????????С??????????С?????磺??Net????? ViewState?????????????????????
??????????????????First Buffer????????????????????????????????????
????DNS Resolution??
????DNS????????????????????????????????????????????dns????????????????????IP????????????????????????????????????????????IP???????????????????
????Connection??
??????????Web Server ??IP???????????????????Web Server????????????Web Server ??????????????????HTTP??????????????????2???£??????????????????????????????????????connection???
????SSL Handshaking??
????SSL ????Э?飬?????Э??????????
????FTP Authentication??
????……
????First Buffer??
???????????????Web Server ???????????????????????紫?????????????????????????????????First Buffer????????????????????Web Server ???????????????????????????????粻?????WebServer????????
????Receive??
??????????????????????????????????????????????????????????????receive???
????Client??
???????????????????????????????????????????????think time ????????????????????????
????Error??
??????????????HTTP ??????Web Server????????HTTP ?????????????????
???????????????????????????????????磬???“Time to First Buffer Breakdown”
???????UNIX
?????. lr???UNIX ??UNIX??????rstatd????
????????????IBM AIX???????rstatd??????????
????1. ???telnet??root????????????AIX??
????2. ???????????????????vi /etc/inetd.conf
????3. ????rstatd?????#rstatd   sunrpc_udp     udp     wait    root    /usr/sbin/rpc.rstatd rstatd 100001 1-3
????4. ??#???
????5. :wq?????????
????6. ???????????????refresh –s inetd???????????
???????????loadrunner???????AIX??????????????