摘要: 今天备份文件时,突然提示“No space left on device”df了下,发现/dev/cciss/c0d0p8 269822864 256138432 0 100% /home/home所在磁盘没有空间了~~~本来打算迁移数据,后来想了下,/home下主要是游戏的备份,其中有大量的日志文件cd 日志目录,ls -lht下,发现,哇~~~最大的log文件有6.5G哦~~~OK,与其迁移数据,还要考虑粉多东西,删除日志文件就好鸟~~rm -rf logs/*删除该目录下所有文件后,再看下,哇,Usage从100%到22%咯~~~还是粉有效的~~但是,要重启resin,才会在logs目录 阅读全文
posted @ 2011-09-14 12:47 小猴子滴乐乐 阅读(2299) 评论(0) 推荐(0) 编辑
摘要: 一、开启rstatd服务1、下载&安装#wget http://sourceforge.net/projects/rstatd/files/rstatd/4.0.1/rpc.rstatd-4.0.1.tar.gz/download#tar -xzvf rpc.rstatd-4.0.1.tar.gz#cd rpc.rstatd-4.0.1#./configure#make#make install2、开启服务rpc.rstatd二、在LR中加载打开Controller,在Available Graphs中选择“System Resource Graphs/UNIX Resources”, 阅读全文
posted @ 2011-05-25 14:55 小猴子滴乐乐 阅读(363) 评论(1) 推荐(0) 编辑
摘要: 今天run10个Vuser并发访问www.sina.com.cn,场景设计为:10个Vuser同时开始、同时结束,且每个Vuser在运行前先初始化,持续运行5分钟,运行结果:报错。错误信息如下:Error -27727:Action.c(158) Error -27727 Step download timeout(120 seconds) has expired when download resource(s).Set the "Step Timeout caused by resources is a warning" Run-Time Setting to Yes/ 阅读全文
posted @ 2011-05-18 10:46 小猴子滴乐乐 阅读(945) 评论(0) 推荐(0) 编辑
摘要: 问题:运行场景后,提示“Abnormal termination, caused by mdrv process termination”,服务端没有挂,仍可正常访问,且在运行场景时,没有自动重启。找下了,网上的答案如下:转自:http://loadrunner.wetpaint.com/page/Abnormal+termination,+caused+by+mdrv+process+terminationHi, Users facing this mdrv process abnormal termination can try one of these options found fro 阅读全文
posted @ 2011-05-13 16:37 小猴子滴乐乐 阅读(2770) 评论(0) 推荐(0) 编辑
摘要: 部署后,在本机浏览器中输入网址可以访问,但是在其他机器中输入网址就提示找不到该资源,很有可能是本地防火墙没有关闭造成的,请按如下步骤操作:1、查看防火墙状态:#/etc/init.d/iptables status 出现如上信息,代表防火墙正在运行ing~2、关闭防火墙#/etc/init.d/iptables stop 此时,防火墙已关闭,也可通过#/ect/init.d/iptables status查看防火墙状态,此时应该显示“防火墙已停”到这里,再在其他机器上输入该服务器的IP地址,端口号应该就可以显示正常了~ 阅读全文
posted @ 2011-05-11 11:20 小猴子滴乐乐 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 一、前期准备安装Nginx,先要下载安装三个它依赖的软件,分别是:openssl, 下载地址:http://www.openssl.org/source/openssl-1.0.0.tar.gzpcre, 下载地址:ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.02.tar.gzzlib, 下载地址:http://download.chinaunix.net/down.php?id=24014&ResourceID=12241&site=1二、下载安装Nginx#wget http://sysoev.r 阅读全文
posted @ 2011-05-11 11:12 小猴子滴乐乐 阅读(2600) 评论(0) 推荐(0) 编辑
摘要: 安装LoadRunner要先安装一些组件,安装到C++时,提示处理方法:去LR安装包中找到vcredist_x86.exe,运行修复VC2005,运行后,再安装LR即可。路径:loadrunner9.5\lrunner\Chs\prerequisites\vc2005_sp1_redist\vcredist_x86.exe 阅读全文
posted @ 2011-05-06 11:25 小猴子滴乐乐 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 1、ln指令 作用:建立链接 使用:ln [option] 源目录文件 目标目录 参数:-s,软链接;无参数,硬链接。 详解:软链接是在目标目录做个映射,有点儿想Windows的快捷方式,只占用源目录的空间,不占用目标目录的空间; 硬链接是在目标目录生成一个同样的文件,占用目标目录的空间。 软、硬链接都是,源目录和目标目录的文件同步修改。 sample: ln -s /usr/local/lib/libev.so.3 /usr/lib2、chmod指令 作用:修改权限 使用:chmod [ugoa][+-=][rwxX] filename 参数: u:文件所有者;g:与文件所有者同group. 阅读全文
posted @ 2011-05-05 15:34 小猴子滴乐乐 阅读(794) 评论(0) 推荐(0) 编辑
摘要: 1、wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tar.bz22、 tar xvjf Python-2.6.6.tar.bz23、cd Python-2.6.64、./configure5、 make6、 make install 阅读全文
posted @ 2011-05-05 14:49 小猴子滴乐乐 阅读(846) 评论(0) 推荐(0) 编辑
摘要: 一、安装libev-3.91、#wget http://dist.schmorp.de/libev/Attic/libev-3.9.tar.gz2、tar xzf libev-3.9.tar.gz 3、cd libev-3.94、./configure --prefix=/usr //指定安装路径,若不指定,会默认安装到/usr/local5、make6、make install二、安装fapws1、wget --no-check-certificate http://github.com/william-os4y/fapws3/tarball/master -O fapws3.tgz2、tr 阅读全文
posted @ 2011-05-05 14:45 小猴子滴乐乐 阅读(571) 评论(0) 推荐(0) 编辑