This article is a mirror article of machine translation, please click here to jump to the original article.

View: 15923|Reply: 0

[Memcached] A description of the information of the current memcached instance

[Copy link]
Posted on 11/12/2014 7:06:43 PM | | | |


The stats command functions as the name suggests: dump the current statistics of the connected memcached instance. In the following example, executing the stats command shows information about the current memcached instance:
STAT pid 22459 process ID
STAT uptime 1027046 the number of seconds the server runs
STAT time 1273043062 the current unix timestamp of the server
STAT version 1.4.4 server version
STAT pointer_size 64 OS word size (this server is 64-bit)
STAT rusage_user 0.040000 process cumulative user time
STAT rusage_system 0.260000 process cumulative system time
STAT curr_connections 10 The number of connections currently open
The total number of connections that STAT total_connections 82 has opened
STAT connection_structures 13 The number of connection structures assigned by the server
STAT cmd_get 54 Total number of get commands executed
STAT cmd_set 34 Total number of set commands executed
STAT cmd_flush 3 points to the total number of commands flush_all
STAT get_hits 9 get hits
STAT get_misses 45 get misses
STAT delete_misses 5 delete misses
STAT delete_hits 1 delete hits
STAT incr_misses 0 incr number of missed hits
STAT incr_hits 0 incr number of hits
STAT decr_misses 0 Decr Number of missed hits
STAT decr_hits 0 Decr hits
STAT cas_misses 0 cas number of missed hits
STAT cas_hits 0 cas number of hits
STAT cas_badval 0 Number of wipes used
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 15785 Total bytes read
STAT bytes_written 15222 total bytes written
STAT limit_maxbytes 1048576 Allocated Memory (bytes)
The number of links currently accepted for STAT accepting_conns 1
STAT listen_disabled_num 0               
STAT threads 4 threads
STAT conn_yields 0
STAT bytes 0 stores the number of bytes of the item
STAT curr_items 0 items
STAT total_items 34 items total
STAT evictions 0 is the total number of items removed in the acquisition space

Most of the output here is very easy to understand. I'll also explain in detail what these values mean later when discussing cache performance. For now, let's look at the output first, then run some set commands with the new keys, and run the stats command again, noticing what changes.





Previous:What mistakes did you make when you visited the forum?
Next:Enable and turn off the firewall setting on Linux
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com