Is the running status of memcache easy to use? Stats? Command display. First, use a command such as telnet127.0.0.111211 to connect to memcache, and then directly enter stats to get the current memcache status. These statuses are described as follows: the number of seconds that the IDuptime server of the pidmemcache server process has been running
Is the running status of memcache easy to use? Stats? Command display. First, connect to memcache using commands such as telnet 127.0.0.1 11211, and then directly enter stats to get the current memcache status. These statuses are described as follows: the pid memcache server's process ID uptime server has been running in seconds time service
MemcacheIs it easy to use?Stats? Command display.
First, connect to memcache using commands such as telnet 127.0.0.1 11211, and then directly enter stats to get the current memcache status.
These statuses are described 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 |
CurrentOperating SystemPointer size (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 |
Exit telnet
Command ctrl +]? Then enter quit in the telnet command line? You can exit.
Original article address: how to view the running status of memcache in LINUX Command Line? Thanks to the original author for sharing.