Memcached – Stats Items Memcached stats items command is used to get items statistics such as count, age, eviction, etc. organized by slabs ID. Syntax The basic syntax of Memcached stats items command is as shown below − stats items Example stats items STAT items:1:number 1 STAT items:1:age 7 STAT items:1:evicted 0 STAT items:1:evicted_nonzero 0 […]
Category Archives: memcached
Memcached – Delete data Memcached delete command is used to delete an existing key from the Memcached server. Syntax The basic syntax of Memcached delete command is as shown below − delete key If the key is successfully deleted, then it returns DELETED. If the key is not found, then it returns NOT_FOUND, otherwise it […]
Memcached – Get Data Memcached get command is used to get the value stored at key. If the key does not exist in Memcached, then it returns nothing. Syntax The basic syntax of Memcached get command is as shown below − get key Example In the following example, we use tutorialspoint as the key and […]