现在的位置: 首页 > 综合 > 正文

redis状态与性能监控

2013年07月27日 ⁄ 综合 ⁄ 共 382字 ⁄ 字号 评论关闭

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服务的统计信息
 

抱歉!评论已关闭.