当前位置:网站首页>快速查看服务器中 Redis 的版本
快速查看服务器中 Redis 的版本
2022-07-21 15:21:00 【Roc.Chang】
Redis
的版本不同,命令也有所差异,所以知道服务器的 Redis
版本还是很有必要的,这种方式不管是远程还是本地都可以通用。
1. 命令查看
# 登陆 Redis,或者是远程登录
redis-cli
# 通过 info 命令查看
127.0.0.1> info server
打印如下:
# Server
redis_version:6.0.10 # redis 的版本信息
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:66898bb7acd47e81
redis_mode:standalone
os:Linux 4.19.121-linuxkit x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:8.3.0
process_id:1
run_id:eb9932a95e3daa043ba12f5f10b1689cf907deda
tcp_port:6379
uptime_in_seconds:834
uptime_in_days:0
hz:10
configured_hz:10
lru_clock:4726955
executable:/data/redis-server
config_file:
io_threads_active:0
2. 工具查看
可以使用开源的 rdm
管理工具查看。点击 Server Info
,并打开右侧面板(PS:虽然简单,但是不风骚,还是命令装逼呀)。
个人博客: Roc’s Blog
边栏推荐
猜你喜欢
随机推荐
闻泰科技与宝信软件深化5G合作, 5G制造落户中国宝武
flask - { “message“: “Failed to decode JSON object: Expecting value: line 1 column 1 (char 0)“ }
零碎知识——AB实验
Recursive implementation of Hanoi Tower problem
2019Q1全球智能手机出货量:华为vivo大幅增长,苹果暴跌30.2%!
B树与B+树 hash索引
面试算法题
Vim Ctags
IO模型、多路复用
EMQ映云科技荣登《中国企业家》2022年度“新锐100”榜单
Awvs installation and problem solving
怎么实现无缝轮播图?用原生js写一遍
【写实体类中,为何int要用Integer类型而不用int的原因】
MCD12Q1数据在ENVI中显示多个分类
[log4j.properties configuration full version]
sprintf(pointer + offset, “format“, value)形式的含义
Nonparametric test
Interface and abstract class
Matlab GUI programming skills (XI): axes/geoaxes/polaraxes drawing to create GUI coordinate area
Mod17a3hgf data download