Zhana Posted January 20, 2010 Posted January 20, 2010 Hi, I installed memcache and added this line in conf,$INFO['use_memcache'] = '1'; How can I know that its working? TY.
AndyF Posted January 21, 2010 Posted January 21, 2010 I'll move your topic to Server Management (as you're more likely to get an answer in here before it disappears off the first page) :)
sunset Posted February 4, 2010 Posted February 4, 2010 You can telnet into your memcached server and use the stats command to get some info. You should see cmd_get, cmd_set, get_hits, get_misses increasing. The example below is on an unused memcached server. [root@web01 ~]# telnet 192.168.1.50 11211 Trying 192.168.1.50... Connected to 192.168.1.50 (192.168.1.50). Escape character is '^]'. stats STAT pid 9880 STAT uptime 173503 STAT time 1265311329 STAT version 1.2.6 STAT pointer_size 64 STAT rusage_user 0.000000 STAT rusage_system 0.006998 STAT curr_items 0 STAT total_items 0 STAT bytes 0 STAT curr_connections 5 STAT total_connections 7 STAT connection_structures 6 STAT cmd_get 0 STAT cmd_set 0 STAT get_hits 0 STAT get_misses 0 STAT evictions 0 STAT bytes_read 56 STAT bytes_written 2354 STAT limit_maxbytes 536870912 STAT threads 4 END Edit: added code block
Recommended Posts
Archived
This topic is now archived and is closed to further replies.