Memcached – Stats Memcached stats command is used to return server statistics such as PID, version, connections, etc. Syntax The basic syntax of Memcached stats command is as shown below − stats Example stats STAT pid 1162 STAT uptime 5022 STAT time 1415208270 STAT version 1.4.14 STAT libevent 2.0.19-stable STAT pointer_size 64 STAT rusage_user 0.096006 […]
Memcached – Get CAS Data Memcached gets command is used to get the value with CAS token. If the key does not exist in Memcached, then it returns nothing. Syntax The basic syntax of Memcached gets command is as shown below − get key Example set tutorialspoint 0 900 9 memcached STORED gets tutorialspoint VALUE […]
Memcached – Stats Slabs Memcached stats slabs command displays slabs statistics such as size, memory usage, commands, count etc. organized by slabs ID. Syntax The basic syntax of Memcached stats slabs command is as shown below − stats slabs Example stats slabs STAT 1:chunk_size 96 STAT 1:chunks_per_page 10922 STAT 1:total_pages 1 STAT 1:total_chunks 10922 STAT […]