dengwen3 发表于 2016-12-18 06:25:36

【Redis入门】常用工具

1、redis-benchmark
  redis基准信息,redis服务器性能检测
redis-benchmark -h localhost -p 6379 -c 100 -n 100000
该命名表示100个并发连接,100000个请求,检测host为localhost 端口为6379的redis服务器的性能  参数详解:


  

  执行此命令会去尝试各种操作,比如PING、SET、GET、PUSH等等。


  

  

2、redis-cli

  Redis命令行操作工具

  使用帮助:
  

  

  命令行使用:


  

  在此模式有很多命令, 参见:
  http://tech.it168.com/a2011/1106/1269/000001269486.shtml
  http://tech.it168.com/a2011/1021/1261/000001261801.shtml

  

  
页: [1]
查看完整版本: 【Redis入门】常用工具