如何查看Redis实例版本? [英] how to check redis instance version?

查看:157
本文介绍了如何查看Redis实例版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检查redis-instance版本?

我在 Redis网站中找到了此命令:

$ redis-server

$ redis-server

这应该给我(根据网站):

and that should give me (according to the site):

[28550] 01 Aug 19:29:28 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'
[28550] 01 Aug 19:29:28 * Server started, Redis version 2.2.12
[28550] 01 Aug 19:29:28 * The server is now ready to accept connections on port 6379
... and so forth ...

但是我却得到了:

[8719] 04 Feb 14:51:09.009 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
[8719] 04 Feb 14:51:09.009 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
[8719] 04 Feb 14:51:09.009 # Creating Server TCP listening socket *:6379: bind: Address already in use

这意味着我需要配置它,但是我想要的只是版本!

which mean I need to configure it, but all I want is the version!

那我该如何检查Redis实例版本?

so how do I check redis instance version?

推荐答案

$ redis-server --version

$ redis-server --version

为您提供版本.

这篇关于如何查看Redis实例版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆