1、查询Redis并发量,连续统计模式
redis-cli --stat

2、redis最大连接数
config get maxclients

3、redis当前连接数、阻塞客户端数量
redis-cli info Clients

4、拒绝连接数
redis-cli info stats

5、监视在Redis中执行的命令
redis-cli monitor

6、慢查询
# 超过5毫秒为慢命令
config set slowlog-log-slower-than 5000
slowlog get {n}

相关文章:

  • 2022-12-23
  • 2021-11-19
  • 2021-05-27
  • 2021-10-29
  • 2021-12-01
  • 2022-12-23
  • 2021-08-01
猜你喜欢
  • 2022-12-23
  • 2021-12-15
  • 2021-09-23
  • 2022-12-23
  • 2021-06-08
  • 2021-12-21
相关资源
相似解决方案