memcached:分布式内存对象缓存系统,很多时候做数据库前端CACHE使用
使用LRU算法,自动删除不需要的缓存
1、安装memcached
2、memcached -m 32m -p 11211 -d -u root -P xx.pid -c 256 -vv
![9967595-62764c899efe903e.png](https://upload-images.jianshu.io/upload_images/9967595-62764c899efe903e.png)
image.png
3、查看状态
![9967595-084853de93a75f90.png](https://upload-images.jianshu.io/upload_images/9967595-084853de93a75f90.png)
image.png
4、使用memcached-tool 查看memcached的运行统计状态
5、nagios对memcached的监控
![9967595-506e522f2a781aa5.png](https://upload-images.jianshu.io/upload_images/9967595-506e522f2a781aa5.png)
image.png
memcached_functions_mysql ????