windows下memcach重要命令翻译

 -p <num>      TCP port number to listen on (default: 11211) 监听的TCP端口号(默认:11211)
-U <num>      UDP port number to listen on (default: 0, off)
监听的UDP端口号(默认:0 关闭)
-d start          tell memcached to start
启动
-d restart        tell running memcached to do a graceful restart 重启
-d stop|shutdown  tell running memcached to shutdown 关闭
-d install        install memcached service
安装成windows服务
-d uninstall      uninstall memcached service 卸载windows服务
-m <num>      max memory to use for items in megabytes, default is 64 MB 分配的最大缓存空间,默认60MB
-M            return error on memory exhausted (rather than removing items)
缓存空间不足时返回错误而不是删除内容
-c <num>      max simultaneous connections, default is 1024 最大并发连接数,默认是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').

                  锁定所有页面内存注意您可以锁定的内存有一个 限制试图分配可能失败

-h            print this help and exit 帮助文档
-i            print memcached and libevent license 打印memcached和libevent的授权信息
-b            run a managed instanced (mnemonic: buckets)运行托管实例
-P <file>     save PID in <file>, only used with -d option 将PID保存到<文件>中,只能在使用-d选项时用
-f <factor>   chunk size growth factor, default 1.25 大小增长因子默认1.25

-n <bytes>    minimum space allocated for key+value+flags, default 48 最小的空间分配键++标志默认48

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值