memcached 1.2.6
-p <num> TCP port number to listen on (default: 11211)
侦听的TCP协议端口(默认:11211)
-U <num> UDP port number to listen on (default: 0, off)
侦听的UDP协议端口 (默认:关闭)
-s <file> unix socket path to listen on (disables network support)
-a <mask> access mask for unix socket, in octal (default 0700)
-l <ip_addr> interface to listen on, default is INDRR_ANY
侦听的网络端口IP
-d run as a daemon
后台运行
-r maximize core file limit
最大核心文件数
-u <username> assume identity of <username> (only when run as root)
使用者用户名
-m <num> max memory to use for items in megabytes, default is 64 MB
项目最大使用内存(MB为单位)
-M return error on memory exhausted (rather than removing items)
-c <num> max simultaneous connections, default is 1024
最大同时连接数
-k lock down all paged memory. Note that there is a
limit on how much memory you may lock. Trying to
allocate more than that would fail, so be sure you
set the limit correctly for the user you started
the daemon with (not for -u <username> user;
under sh this is done with 'ulimit -S -l NUM_KB').
-v verbose (print errors/warnings while in event loop)
-vv very verbose (also print client commands/reponses)
-h print this help and exit
-i print memcached and libevent license
-b run a managed instanced (mnemonic: buckets)
-P <file> save PID in <file>, only used with -d option
-f <factor> chunk size growth factor, default 1.25
-n <bytes> minimum space allocated for key+value+flags, default 48
-t <num> number of threads to use, default 4
Memcached 命令
精选 翻译上一篇:SMTP RFC821
下一篇:shell技巧 除法
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Memcached get 命令
Memcached get 命令获取存储在 key(键) 中的 value(数据值) ,如果 key 不存在,则返回
memcached 键值 基本语法 参数说明 -
memcached telnet命令
memcached telnet命令
MemCached教程 MemCached -
Memcached CAS 命令
Memcached CAS(Check-And-Set 或 Compare-And-Swap) 命令用于执行一个"检查并设置
memcached 缓存 键值对 客户端
















