The running state of the memcache can be conveniently displayed with the Stats command.
First, use the Telnet 127.0.0.1 11211 command to connect to the Memcache, and then enter stats directly to get the status of the current memcache.
The descriptions of these states are as follows:
| Pid |
Process ID of the Memcache server |
| Uptime |
Number of seconds the server has been running |
| Time |
Server's current UNIX timestamp |
| Version |
Memcache version |
| Pointer_size |
The current operating system pointer size (32-bit system is generally 32bit) |
| Rusage_user |
Cumulative user time for the process |
| Rusage_system |
Cumulative system time for processes |
| Curr_items |
The number of items currently stored by the server |
| Total_items |
The total number of items stored since the server was started |
| bytes |
The number of bytes occupied by the current server store items |
| Curr_connections |
Number of connections currently open |
| Total_connections |
Number of connections that have been opened since the server was started |
| Connection_structures |
Number of connection constructs allocated by the server |
| Cmd_get |
Get command (GET) total number of requests |
| Cmd_set |
Set command (Save) Total Request count |
| Get_hits |
Total Hit Count |
| Get_misses |
Total number of Misses |
| Evictions |
Items deleted in order to get free memory (the space allocated to memcache needs to be deleted after the old items are allocated to the new items) |
| Bytes_read |
Total bytes read (number of requests bytes) |
| Bytes_written |
Total Bytes sent (bytes of result) |
| Limit_maxbytes |
Size of memory allocated to Memcache (bytes) |
| Threads |
Current number of threads |
Memcache viewing the running status of Memcache