2004 发表于 2018-12-24 12:11:24

Memcached 命令

  memcached 1.2.6
  -p       TCP port number to listen on (default: 11211)
  侦听的TCP协议端口(默认:11211)
  -U       UDP port number to listen on (default: 0, off)
  侦听的UDP协议端口 (默认:关闭)
  -s      unix socket path to listen on (disables network support)
  -a      access mask for unix socket, in octal (default 0700)
  -l   interface to listen on, default is INDRR_ANY
  侦听的网络端口IP
  -d            run as a daemon
  后台运行
  -r            maximize core file limit
  最大核心文件数

  -uassume>  使用者用户名
  -m       max memory to use for items in megabytes, default is 64 MB
  项目最大使用内存(MB为单位)
  -M            return error on memory exhausted (rather than removing items)
  -c       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 -uuser;
  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      save PID in , only used with -d option

  -f    chunk>  -n   minimum space allocated for key+value+flags, default 48
  -t       number of threads to use, default 4

页: [1]
查看完整版本: Memcached 命令