- Memcached Basics
- Memcached - Home
- Memcached - Overview
- Memcached - Environment
- Memcached - Connection
- Memcached Storage Commands
- Memcached - Set Data
- Memcached - Add Data
- Memcached - Replace Data
- Memcached - Append Data
- Memcached - Prepend Data
- Memcached - CAS
- Memcached Retrieval Commands
- Memcached - Get Data
- Memcached - Get CAS Data
- Memcached - Delete Key
- Memcached - Delete Data
- Memcached - Incr/Decr
- Memcached Statistics Commands
- Memcached - Stats
- Memcached - Stats Items
- Memcached - Stats Slabs
- Memcached - Stats sizes
- Memcached - Clear Data
- Memcached Useful Resources
- Memcached - Quick Guide
- Memcached - Useful Resources
- Memcached - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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.
Advertisements