User Tools

Site Tools


memcache_invetigation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
memcache_invetigation [2017/09/11 09:36] – created luke7858memcache_invetigation [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +=== PHPMemcachedAdmin ===
 +https://github.com/LukeShirnia/phpmemcachedadmin
 +\\
 +\\
 == Configuration file == == Configuration file ==
 /etc/sysconfig/memcached /etc/sysconfig/memcached
 +\\
 \\ \\
 === Logging === === Logging ===
Line 12: Line 17:
 \\ \\
 === Adding a key/value === === Adding a key/value ===
 +set KEY META_DATA EXPIRY_TIME LENGTH_IN_BYTES
 +<sxh bash>
 +# telnet localhost 11211
 +</sxh>
 +<sxh bash>
 +set Test 0 100 10
 +JournalDev
 +STORED
 +</sxh>
 +\\
 +
 <sxh bash> <sxh bash>
-[root@cloud-server-03 ~]# printf "set mykey 0 60 4\r\ndata\r\n" |\ +# printf "set mykey 0 60 4\r\ndata\r\n" |\ > nc localhost 11211
-> nc localhost 11211+
 STORED STORED
 </sxh> </sxh>
 \\ \\
 <sxh bash> <sxh bash>
-[root@cloud-server-03 ~]# memcached-tool localhost:11211+# memcached-tool localhost:11211
   #  Item_Size  Max_age   Pages   Count   Full?  Evicted Evict_Time OOM   #  Item_Size  Max_age   Pages   Count   Full?  Evicted Evict_Time OOM
   1      96B        27s                 yes        0        0    0   1      96B        27s                 yes        0        0    0
Line 27: Line 42:
 Getting they key: Getting they key:
 <sxh bash> <sxh bash>
-[root@cloud-server-03 ~]# telnet localhost 11211+# telnet localhost 11211
 Trying ::1... Trying ::1...
 Connected to localhost. Connected to localhost.
memcache_invetigation.1505122587.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki