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

View: 15127|Reply: 0

[Memcached] Windows below Memcached basic operation commands

[Copy link]
Posted on 7/13/2016 12:43:44 PM | | | |
Memcached for Windows modifies ports and maximum memory
http://www.itsvse.com/thread-2957-1-1.html
(Source: Code Agriculture Network_Code changes the world, accumulate and achieve yourself!)





memcached -d install the installation service
memcached -l ip address -m 128 -n 128 -c 30720 -p 11211 -d start start
memcached.exe -d stop to stop service
memcached.exe -d uninstall to uninstall


-p port to listen to
-l The IP address of the connection, the default is native
-d start starts the memcached service
-d restart restart memcached service
-d stop|shutdown shuts down the running memcached service
-d install to install the memcached service
-d uninstall to uninstall the memcached service
-u runs as root (only works when running as root)
-m Maximum memory usage in MB. The default is 64MB
-M returns an error when memory runs out, instead of deleting items
-c Maximum number of simultaneous connections, default is 1024
-f block size growth factor, default is 1.25
-n Minimum allocation space, key+value+flags defaults to 48
-h Show help



Common commands: 1.telnet to memcache server, e.g., telnet 192.168.1.120 11211 (11211 is the default port of memcache)
2.stats to view basic information
3.stats items to view items
4. Get key (key is the string after item, i.e. key)
5.-c Maximum number of simultaneous connections, the default is 1024
6.-f block size growth factor, default is 1.25
7.-n The minimum allocation space is 48 by default for key+value+flags
8.-h Show help

Download:

memcached_x64.rar (251.7 KB, Number of downloads: 0)





Previous:ConcurrentDictionary supports new and updated updates
Next:Memcached for Windows modifies ports and maximum memory
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