how to check redis instance version?

前端 未结 6 927
感动是毒
感动是毒 2020-12-22 19:44

how to check Redis server version?

I\'ve found in Redis site this command:

$ redis-server

and that should gi

6条回答
  •  Happy的楠姐
    2020-12-22 20:04

    if you want to know a remote redis server's version, just connect to that server and issue command "info server", you will get things like this:

    ...
    redis_version:3.2.12
    redis_git_sha1:00000000
    redis_git_dirty:0
    redis_build_id:9c3b73db5f7822b7
    redis_mode:standalone
    os:Linux 2.6.32.43-tlinux-1.0.26-default x86_64
    arch_bits:64
    multiplexing_api:epoll
    gcc_version:4.9.4
    process_id:5034
    run_id:a45b2ffdc31d7f40a1652c235582d5d277eb5eec
    

提交回复
热议问题