*可以使用lr自带监控引擎,也可以使sitescope,用如果使用后者,确保服务器已安装sitescope(sitescope是HP公司的一款监控软件,官网可以下试用版),可以和controller安装在同一台机器,也可以安装在别的机器上。51Testing软件测试网{F|0C%UJ
51Testing软件测试网e4p8J^V"H"xN
*添加监控对象及计数器
VL[%o_'ee01. 右侧的graphs树点击Windows Resources拖动到右侧的空白图中51Testing软件测试网0WM ~{5^,UK
2. 右键选择add measurements或选择菜单monitors>add measurements
p!q Pe]cQ6[03. 默认使用LR自带的监控引擎,如果要使用sitescope,点击advanced51Testing软件测试网3B#dQ
^_[8n*UgP7B M
4. Monitores server machines,点击add,输入ip地址和平台类型51Testing软件测试网4o@f&qa
x
如果是sitescope,输入sitescope的ip地址和端口(默认8888)51Testing软件测试网TO4y%z1T
5. 在resouce measurements on:<machine>,点击添加计数器51Testing软件测试网.kf3PI0z
51Testing软件测试网
i$g,~Y'tv V9v
常用监控对象及计数器:51Testing软件测试网
u LEEvyMs
Processor\% Total Processor Time:CPU使用率
a(qKz!fd0System \Processor Queue Length:处理器队列长度
t*gh vcw!{Hy7KUa0Processor\Interrupts/sec:每秒中断数
9?
J u!heR)VU(e0Memory\Available Bytes:可用内存
yI:Pr"V[0Memory\Pages/sec:每秒页面数,输入和输出之和
O&cx,lf]Y`0Physical Disk\Disk time:磁盘使用率
U.ZZRZ3i+z.x0Physical Disk\current Disk Queue Length:当前磁盘队列长度51Testing软件测试网+i,K0Vl)@!r3L{ v
Network Interface\Bytes total/sec:网络吞吐量
;\gD^IRGZ e Y0
d sA
hm0
o\C'Ca4z.R+M!rUx0 51Testing软件测试网
y&u6J2j!R}D;no