In windows, how does one view the current running status of memcache through the command line?
How to view the current memcache running through the command line
The command for viewing the running status of memcache in the command line is mainly the stats command. The steps are as follows:
(1) first, use the telnet command to connect to memcache. Command: telnet 127.0.0.1 11211
(2) Enter stats to get the current memcache status.
Memcache states are explained in English as follows:
Pid |
Memcache server process ID |
Uptime |
Number of seconds that the server has run |
Time |
Current unix timestamp of the server |
Version |
Memcache version |
Pointer_size |
Pointer size of the current operating system (32-bit system is generally 32bit) |
Rusage_user |
Cumulative user time of the process |
Rusage_system |
Cumulative system time of processes |
Curr_items |
Number of items currently stored on the server |
Total_items |
Total number of items stored after server startup |
Bytes |
Number of bytes occupied by items stored on the current server |
Curr_connections |
Number of currently opened connections |
Total_connections |
Number of connections that have been opened since the server is started |
Connection_structures |
Number of connections allocated by the server |
Pai_get |
Total get command (get) Requests |
Performance_set |
Total number of set command (SAVE) Requests |
Get_hits |
Total hits |
Get_misses |
Total number of missed hits |
Evictions |
Number of items deleted to get idle memory (the old items need to be deleted after the space allocated to memcache is full to get the space allocated to the new items) |
Bytes_read |
Total number of read bytes (number of request bytes) |
Bytes_written |
Total number of sent bytes (number of returned bytes) |
Limit_maxbytes |
Memory size (bytes) allocated to memcache) |
Threads |
Current thread count |