Firefox 浏览器加速
[ 2011/04/20 13:09 | by selboo ]
减少缓存文件所占用的内存:
1.在地址栏中输入“about:config",回车
2.找到"browser.sessionhistory.max_total_viewer"
3.将其值设为 0
加快Firefox加载页面的速度:
1.在地址栏中输入“about:config",回车
通常浏览器加载一个页面只连接一个线程,而如果你启用“pipelining",它会多线程加载,这将加快记得浏览器速)。
2.将”network.http.pipelining"值设为"true"
将”network.http.proxy.pipelining"值设为"true"
将”network.http.pipelining.maxrequests"值设为一个数字,比如 10 (表示同时允许10个线程)
3.最后,右键单击空白处,
1.在地址栏中输入“about:config",回车
2.找到"browser.sessionhistory.max_total_viewer"
3.将其值设为 0
加快Firefox加载页面的速度:
1.在地址栏中输入“about:config",回车
通常浏览器加载一个页面只连接一个线程,而如果你启用“pipelining",它会多线程加载,这将加快记得浏览器速)。
2.将”network.http.pipelining"值设为"true"
将”network.http.proxy.pipelining"值设为"true"
将”network.http.pipelining.maxrequests"值设为一个数字,比如 10 (表示同时允许10个线程)
3.最后,右键单击空白处,
VPS性能测试 unixbench
[ 2010/08/04 23:00 | by selboo ]
[root@74-82-173-217 opt]# wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz
[root@74-82-173-217 opt]# tar zxvf unixbench-5.1.2.tar.gz
[root@74-82-173-217 opt]# cd unixbench-5.1.2
[root@74-82-173-217 unixbench-5.1.2]# make
[root@74-82-173-217 unixbench-5.1.2]# ./Run
make all
make[1]: Entering directory `/opt/unixbench-5.1.2'
Checking distribution of files
./pgms exists
./src exists
./testdir&
no (LWP::UserAgent not found)
[ 2010/07/31 08:48 | by selboo ]
Cacti监控Nginx时候,需要安装 cacti-nginx 插件
测试获取数据时出错
nginx.conf 配置
[selboo@74-82-173-217 ~]$ /wwwroot/selboo/cacti/scripts/get_nginx_clients_status.pl http://selboo.com.cn/nginx
no (LWP::UserAgent not found)
解决方法:
[root@74-82-173-217 ~]# perl -MCPAN -e shell
cpan> install LWP::UserAgent
[selboo@74-82-173-217 ~]$ /wwwr
测试获取数据时出错
nginx.conf 配置
location /nginx {
stub_status on;
}
stub_status on;
}
[selboo@74-82-173-217 ~]$ /wwwroot/selboo/cacti/scripts/get_nginx_clients_status.pl http://selboo.com.cn/nginx
no (LWP::UserAgent not found)
解决方法:
[root@74-82-173-217 ~]# perl -MCPAN -e shell
cpan> install LWP::UserAgent
[selboo@74-82-173-217 ~]$ /wwwr
Naigos 报警次数限制
[ 2010/05/10 11:06 | by selboo ]
escalations有自动调整;不断增加; 逐步上升等意思,本身配置文件的功能是当服务在某一告警次数前没有恢复,告警频率周期将会缩短,同时将告警信息发送至指定联系人。
其内容为:
[code]define hostescalation{
host_name WWW-Server
其内容为:
[code]define hostescalation{
host_name WWW-Server
Cacti 可监控项
[ 2010/04/08 20:51 | by selboo ]
Cacti可以监控的东西,下面看看,可多啦
Handy Repopulate Poller Cache Script
Download and Documentation
http://forums.cacti.net/about10292.html
New Advanced Ping Template Version
Download and Documentation
http://forums.cacti.net/about10049.html
Powerware 9120 UPS via SNMP Download and Documentation
http://forums.cacti.net/about5427.html
Smoke Ping Like
Download and Documentation
http://forums.cacti.net/about8503.html
Handy Repopulate Poller Cache Script
Download and Documentation
http://forums.cacti.net/about10292.html
New Advanced Ping Template Version
Download and Documentation
http://forums.cacti.net/about10049.html
Powerware 9120 UPS via SNMP Download and Documentation
http://forums.cacti.net/about5427.html
Smoke Ping Like
Download and Documentation
http://forums.cacti.net/about8503.html