The command line to view the running status of the Memcache is primarily a stats command, as follows:
(1) First through the Telnet command to connect to the Memcache, command: Telnet 127.0.0.1 11211
(2) Direct input stats can get the current memcache state.
For the memcache state the meaning of the English language is explained as follows:
Pid |
Memcache The process ID of the 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 typically 32bit) |
Rusage_user |
Cumulative user time for the process |
Rusage_system |
Cumulative system time of the process |
Curr_items |
The number of items currently stored by the server |
Total_items |
Total number of items stored since server startup |
bytes |
The number of bytes consumed by the current server storage items |
Curr_connections |
The 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 that the server assigns |
Cmd_get |
Get command (gets) the total number of requests |
Cmd_set |
Set command (save) number of total requests |
Get_hits |
Total Hit Count |
Get_misses |
Total missed Hits |
Evictions |
Number of items deleted to get free memory (the space allocated to memcache needs to be removed from the old items to get space allocated to new items) |
Bytes_read |
Total Read bytes (number of bytes requested) |
Bytes_written |
Total Bytes sent (result bytes) |
Limit_maxbytes |
Size of memory allocated to Memcache (bytes) |
Threads |
Current number of threads |
Articles that you may be interested in
- JS Address bar effects (display the size of all the linked pictures on the page and view the height of the current browser)
- How to view the MySQL startup time and how long it has been running
- How to implement a PHP file running at the command line under Windows
- How to view the current self-increment of a database table
- Windows DOS command view the program that occupies XX port
- No matter how much money you make, there will always be different worries.
- Use PHP function memory_get_usage to get current PHP memory consumption to achieve program performance optimization
- The principles and tutorials of PHP connection, manipulating memcached