redis-cli.exe redis-cli -h host -p port -a password info clients 查看当前的redis连接数 config get maxclients redis允许的最大连接数。