您的位置:首页 > 数据库 > Redis

redis状态与性能监控

2012-05-15 17:42 267 查看
1、redis-benchmark

redis基准信息,redis服务器性能检测

redis-benchmark -h localhost -p 6379 -c 100 -n 100000

100个并发连接,100000个请求,检测host为localhost 端口为6379的redis服务器性能

2、redis-cli

redis-cli -h localhost -p 6380 monitor

Dump all the received requests in real time;

监控host为localhost,端口为6380,redis的连接及读写操作

redis-cli -h localhost -p 6380 info

Provide information and statistics about the server ;

提供host为localhost,端口为6380,redis服务的统计信息
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: