Redis相关操作

来源:互联网 发布:68淘宝小号网站首页 编辑:程序博客网 时间:2024/06/07 12:00
# Redis启动关闭redis-cli -h 127.0.0.1 -a <passwd>redis-cliredis-cli shutdownredis-server /etc/redis/6379.conf# Redis状态查看infoinfo memoryinfo repolication# 清空缓存flushall# 手动备份数据save# key相关keys *type key randomkeydbsize# 查看redis进程正在做什么monitor# 其他setgetdel... ...
0 0
原创粉丝点击