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 […]
Category Archives: memcached
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 – Stats Sizes Memcached stats sizes command provides information about the sizes and number of items of each size within the cache. The information is returned in two columns. The first column is the size of the item (rounded up to the nearest 32 byte boundary), and the second column is the count of […]