memkeys memkeys是tumblr开源的类似top的工具,可用于实时查看memcached的key使用情况. memkeys安装 安装autoconf(要求版本2.68以上): # wget -c http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz# tar zxvf autoconf-latest.tar.gz# cd autoconf-2.6
memkeys是tumblr开源的类似top的工具,可用于实时查看memcached的key使用情况.
安装autoconf(要求版本2.68以上):
# wget -c http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz # tar zxvf autoconf-latest.tar.gz # cd autoconf-2.69 # ./configure # make && make install
安装其它依赖:
# yum install libpcap-devel pcre-devel ncurses-devel
安装memkeys:
这是一款适用于会员商店会员消费管理的实用软件,使用此系统:1、用户可以方便地记录地本会会员在“会员商店”的消费情况;并将消费明细打印出来。2、可随时随地了解查询某一会员在俱乐部消费商品货物的全部情况;3、可随时随地查询某一时期,某一会员消费某一商品或全部商品的情况明细和积点情况;4、可随时随地查询一定时期内,部分或全部商品的销售情况、并可对查询结果进行打印。
5
# git clone https://github.com/tumblr/memkeys.git # cd memkeys # ./autogen.sh # ./configure # make && make install
# memkeys -h
Usage: memkeys -i NIC [options]
-d, --discard=THRESH Discard keys where req/s rate is below THRESH
-i, --interface=NIC Network interface to capture traffic on (required)
-p, --port=PORT Network port to capture memcache traffic on (default 11211)
-r, --refresh=INTERVAL Refresh the stats display every INTERVAL ms (default 500)
-l, --logfile=FILE Output logs to FILE
-R, --report=REPORT Output data in REPORT format (CSV or curses, default curses)
-h, --help This help
-v, --verbose Increase verbosity. May be used multiple times.
-V, --version Show program info and exit.例子1:
# memkeys -i eth0 -l /tmp/memkeys.log
例子2:
# memkeys -i eth0 -d 10.0 -l /tmp/memkeys.log
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号