memcache_invetigation
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| memcache_invetigation [2017/09/11 09:36] – created luke7858 | memcache_invetigation [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | === PHPMemcachedAdmin === | ||
| + | https:// | ||
| + | \\ | ||
| + | \\ | ||
| == Configuration file == | == Configuration file == | ||
| / | / | ||
| + | \\ | ||
| \\ | \\ | ||
| === 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 bash> | ||
| + | set Test 0 100 10 | ||
| + | JournalDev | ||
| + | STORED | ||
| + | </ | ||
| + | \\ | ||
| + | |||
| <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 | + | |
| STORED | STORED | ||
| </ | </ | ||
| \\ | \\ | ||
| <sxh bash> | <sxh bash> | ||
| - | [root@cloud-server-03 ~]# memcached-tool localhost: | + | # memcached-tool localhost: |
| # Item_Size | # Item_Size | ||
| 1 96B 27s | 1 96B 27s | ||
| 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)
