1.网址:http://code.google.com/p/memcache-top/ 下载程序,放到linux下
2.如果执行perl memcache-top-v0.6 --instances=127.0.0.1:11212,127.0.0.1:11211 出现如下错误:
Can't locate Time/HiRes.pm in @INC
Can't locate ExtUtils/MakeMaker.pm in @INC (解决办法:http://hi.baidu.com/liu731/item/a5ac223e9538e9d06d15e9b5) OK
Can't locate CPAN.pm in @INC (解决办法:http://bbs.chinaunix.net/thread-1290287-1-1.html) OK
需要安装的软件:Time-HiRes-1.9725 Test-Harness-3.26 Test-Simple-0.98 CPAN-1.9402
安装方法:解压后,进入目录执行如下命令:
perl Makefile.PL
make
make test
make install
http://search.cpan.org/ 查找下载所需软件
perl /root/soft/memcache-top-v0.6 --instances=218.245.5.77 --port 20130
执行后,显示:
INSTANCE USAGE HIT % CONN TIME EVICT/s READ/s WRITE/s
218.245.5.77:11211 is DOWN.
AVERAGE: 0.0% 0.0% 0.0ms 0.0 0 0
TOTAL: 0B/ 0B 0.0ms 0.0 0 0
(ctrl-c to quit.)
参考文档:http://www.linuxidc.com/Linux/2011-10/45868.htm
http://sdu-wizard.iteye.com/blog/1538398
telnet 218.245.5.77 20130
/usr/local/bin/memcached -d -m 10048 -u root -l 218.245.5.77 -p 20130 -c 10024 -P /tmp/memcached.pid
500字节 一个记录 500*4000000/1024/1024
初始化了100万,占用了0.5G内存
500*1000000/1024/1024=476M
mem超时问题:
http://www.iteye.com/problems/79744
http://weiboxie.iteye.com/blog/1835858
分享到:
相关推荐
tar -zxvf pecl-memcache-4.0.4.tar.gz && cd /root/pecl-memcache-4.0.4 && /usr/local/php7/bin/phpize && ./configure --with-php-config=/usr/local/php7/bin/php-config && make && make install
赠送jar包:netty-codec-memcache-4.1.73.Final.jar; 赠送原API文档:netty-codec-memcache-4.1.73.Final-javadoc.jar; 赠送源代码:netty-codec-memcache-4.1.73.Final-sources.jar; 赠送Maven依赖信息文件:...
php_memcache-3.0.8-5.6-nts-vc11-x86 example.php memcache.php
php的memcache扩展,linux下的,php的memcache扩展分为两种,一种是memcache,一种是基于libmemcached的memcached,这个是memcache版本的beta版本
Installing Memcache on Wamp 2.1e and Windows 7 php_memcache-cvs-20090703-5.3-VC6-x86+使用方法+php5.3.X
linux下安装包memcache-2.2.4.tgz
Memcache-client for php 一个PHP 的 Memcached缓存 客户端
php_memcache-5.2 5.3 5.4
php_memcache-3.0.8-5.5-ts-vc11-x64 用于 for php5.5 64位版本
赠送jar包:netty-codec-memcache-4.1.74.Final.jar; 赠送原API文档:netty-codec-memcache-4.1.74.Final-javadoc.jar; 赠送源代码:netty-codec-memcache-4.1.74.Final-sources.jar; 赠送Maven依赖信息文件:...
memcache-4.0.5.2.tgz
赠送jar包:netty-codec-memcache-4.1.73.Final.jar; 赠送原API文档:netty-codec-memcache-4.1.73.Final-javadoc.jar; 赠送源代码:netty-codec-memcache-4.1.73.Final-sources.jar; 赠送Maven依赖信息文件:...
赠送jar包:netty-codec-memcache-4.1.74.Final.jar; 赠送原API文档:netty-codec-memcache-4.1.74.Final-javadoc.jar; 赠送源代码:netty-codec-memcache-4.1.74.Final-sources.jar; 赠送Maven依赖信息文件:...
使用github上的php7分支自行编译,未修改源码。 匹配API20151012,NTS,VC14
在windows 64位机器上的memcached应用程序 以及 php_memcache.dll扩展 注意:是64位的版本!! 测试在Win7-64bit,php5.3.13-vc9-ts 环境下可以使用~~
memcache-2.2.6.tgz memcache-2.2.6.tgz
memcache是一套分布式的高速缓存系统,由LiveJournal的Brad Fitzpatrick开发,但目前被许多网站使用以提升网站的访问速度,尤其对于一些大型的、需要频繁访问数据库的网站访问速度提升效果十分显著[1] 。这是一套...
memcache.dll 跟PHP版本关联有2个参数,一个是PHP Extension Build 例如:API20151012,NTS,VC14 一个是Architecture 例如:x86 所以我们选择的dll文件应该是 vc14 x86 nts 7.0版
php7开始普及起来,但是memcache扩展却很难找到
php_memcache-3.0.7-5.3-ts-vc9-x86.zip php 5.3 32位 线程安全