Windows 7 Installation memcached error
Two cases:
A: The service has indeed been installed. If you need to reinstall, of course, first memcached.exe-d Uninstall
Two: Strange is that the service did not install the situation, in the Memcached.exe-d install will also appear above location error. At this point, turn off the cmd window and then run CMD as an administrator, in the implementation of the above install, not unexpectedly you will successfully perform successful.
Common commands:
installation, uninstallation, startup, configuration related
-P Listening Port
-L connected IP address, default is native
-D Start memcached service
-D Restart Restart memcached service
-D Stop|shutdown Close the running memcached service
-D Install memcached service
-d Uninstall Uninstall memcached service
-U Run as (only valid when running as root)
-m maximum memory usage, in megabytes. Default 64MB
-M running out of memory and returning an error instead of deleting an item
-c Maximum number of simultaneous connections, default is 1024
-F Block size growth factor, default is 1.25
-N Minimum allocated space, key+value+flags default is 48
-H Display Help
Operation Memcached
Command |
Description |
Example |
Get |
Reads a value |
Get MyKey |
Set |
Set a key unconditionally |
Set MyKey 0 60 5 |
Add |
ADD a new key |
Add Newkey 0 60 5 |
Replace |
Overwrite existing Key |
Replace key 0 60 5 |
Append |
Append data to existing key |
Append key 0 60 15 |
Prepend |
Prepend data to existing key |
Prepend Key 0 60 15 |
incr |
Increments numerical key value by given number |
INCR MyKey 2 |
Decr |
Decrements numerical key value by given number |
DECR MyKey 5 |
Delete |
Deletes an existing key |
Delete MyKey |
Flush_all |
Invalidate specific items immediately |
Flush_all |
Invalidate all items in n seconds |
Flush_all 900 |
Stats |
Prints General Statistics |
Stats |
Prints Memory Statistics |
Stats Slabs |
Prints Memory Statistics |
Stats malloc |
Print Higher level allocation statistics |
Stats items |
|
Stats Detail |
|
Stats sizes |
Resets statistics |
Stats Reset |
Version |
Prints Server version. |
Version |
Verbosity |
Increases log level |
Verbosity |
Quit |
Terminate Telnet session |
Quit |