03 2013 档案

摘要:loadrunner 中数组的定义:lr_save_string("www.google.com","website_1");lr_save_string("www.baidu.com","website_2");lr_save_string("www.163.com","website_3");lr_save_string("www.sina.com","website_4");lr_save_string("4" 阅读全文
posted @ 2013-03-28 13:53 冬之夜 阅读(333) 评论(0) 推荐(0)
摘要:web_link("test","TEXT={param}",last)web_link()要求,第一个逗号前的内容必须是字符串。所以如需参数化需要如下:web_link(lr_eval_string("param"),"TEXT={param}",last) 阅读全文
posted @ 2013-03-27 15:28 冬之夜 阅读(267) 评论(0) 推荐(0)
摘要:free命令详解[root@localhost ~]# free total used free shared buffers cachedMem: 1016672 152640 864032 0 12536 40168-/+ buffers/cache: 99936 916736Swap: 1023992 0 1023992 -buffers/cache:等于第1行的(used-buffers-ca... 阅读全文
posted @ 2013-03-27 10:53 冬之夜 阅读(201) 评论(0) 推荐(0)
摘要:在监控系统资源的时候要关闭防火墙,否则会出现以下错误:Monitor name :UNIX Resources. Cannot initialize the monitoring on 192.168.136.143. Error while creating the RPC client. Ensure that the machine can be connected and that it runs the rstat daemon (use rpcinfo utility for this verification). Detailed error: RPC: Failed to cr 阅读全文
posted @ 2013-03-26 10:24 冬之夜 阅读(169) 评论(0) 推荐(0)
摘要:1 安装make编译器下载地址: http://www.gnu.org/software/make/tarzxvfmake-3.82.tar.gzcdmake-3.82./configuremakemakeinstall注释:centos中不需要安装.2 C++编译器http://www.gnu.org/software/gcc/tarzxvfgcc-c++-4.4.4.tar.gzcdgcc-c++-4.4.4./configuremakemakeinstall注释:centos系统可直接运行: yum install gcc-c++ 安装3 和分析器bison下载地址: http://ww 阅读全文
posted @ 2013-03-26 10:18 冬之夜 阅读(291) 评论(0) 推荐(0)
摘要:监控windows1、监视连接前的准备工作1)进入被监视windows系统,开启以下二个服务Remote Procedure Call(RPC)和Remote Registry Service (开始—)运行中输入services.msc,开启对应服务即可)。2)在被监视的WINDOWS机器上:右击我的电脑,选择管理->共享文件夹->共享在这里面要有C$这个共享文件夹(要是没有自己手动加上)。3)在安装LR的机器上,开始—》运行,输入\\被监视机器IP\C$然后输入管理员帐号和密码,如果能看到被监视机器的C盘了,就说明你得到了那台机器的管理员权限,可以使用LR去连接了。(LR要连接 阅读全文
posted @ 2013-03-25 15:01 冬之夜 阅读(328) 评论(0) 推荐(0)
摘要:时间服务器配置(192.168.10.1)1). # rpm -ivh ntp-4.1.2-4.EL3.1.i386.rpm2). # vi /etc/ntp.conf注释一行restrict default ignore加入一行restrict 192.168.10.0 mask 255.255.255.0 notrust nomodify notrap3). # vi /etc/ntp/step-tickers加入一行pool.ntp.org这样每次ntpd启动时,会自动连接该国际标准时间服务器;4). # service ntpd start5). # netstat -an |grep 阅读全文
posted @ 2013-03-25 10:47 冬之夜 阅读(141) 评论(0) 推荐(0)
摘要:在web_url()中Resource属性的解释:Resource- A value indicating whether the URL is a resource:0 – the URL is not a resource :resource=0 URL为非资源1 – the URL is a resource :resource=1 URL为资源从以上日志可以看到,下载的都是web_url()中EXTRARES资源列表里的资源。其实就是录制是选择的录制模式。 阅读全文
posted @ 2013-03-22 11:00 冬之夜 阅读(275) 评论(0) 推荐(0)