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 the number of items of that size within the cache.

Syntax

The basic syntax of Memcached stats sizes command is as shown below −

stats sizes

Example

stats sizes
STAT 96 1
END

The item size statistics are useful only to determine the sizes of the objects you are storing. Since the actual memory allocation is relevant only in terms of the chunk size and page size, the information is only useful during a careful debugging or diagnostic session.

Leave a Reply