redis常用命令
1 基准测试
redis-benchmark -h localhost -p 6379 -c 500 -n 100000 |
2 启动
redis-server /etc/redis.conf |
3 停止
ps -aux | grep redis| xargs kill |
4 常用命令
#客户端连接 |
redis-benchmark -h localhost -p 6379 -c 500 -n 100000 |
redis-server /etc/redis.conf |
ps -aux | grep redis| xargs kill |
#客户端连接 |