当前位置: 首页 > 面试题库 >

如何查看Redis实例版本?

石正卿
2023-03-14
问题内容

如何查看redis-instance版本?

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

$ redis服务器

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

[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

这意味着我需要配置它,但我只需要版本即可!

那么如何检查Redis实例版本?


问题答案:

$ redis-server –version

给你版本。



 类似资料:
  • 如何检查Redis服务器版本? 那么如何检查Redis服务器版本呢?

  • 通过 SOFABoot,我们可以直接在浏览器中就可以查看 SOFA 中间件的版本等详细信息。 引入 SOFABoot Infra 依赖 要在 SOFABoot 中直接通过浏览器查看 SOFA 中间件的版本信息,只需要在 Maven 依赖中增加如下的内容即可: <dependency> <groupId>com.alipay.sofa</groupId> <artifactId>in

  • 使用Android Studio 0.82编译这个官方项目时,显示错误注释:

  • 问题内容: 如何查看我使用的NumPy版本? (仅供参考,此问题已被编辑,因为问题和答案都不是特定于平台的。) 问题答案:

  • 问题内容: 我如何跟踪Linux服务器上发生的MySQL查询? 例如,我希望设置某种侦听器,然后请求一个网页并查看引擎执行的所有查询,或者仅查看在生产服务器上运行的所有查询。我怎样才能做到这一点? 问题答案: 您可以运行MySQL命令以查看在任何给定时间正在处理哪些查询,但这可能无法实现您所希望的。 获取历史记录而不必使用服务器修改每个应用程序的最佳方法可能是通过触发器。您可以设置触发器,以便每次

  • 在概览页面中,点击一个实例卡片以打开其“实例详细信息”页面。它以可视方式显示服务器参数和指标,让你快速查看服务器负载和性能。你可以使用“暂停监控”和“继续监控”按钮来暂停和继续监控实例。Navicat Monitor 会停止从服务器收集信息,直到监控继续。 所有受监控的实例都显示在左侧窗格中。选择一个实例以查看与其相关的信息。 实例详细信息页面的信息 摘要 它显示有关服务器的主机信息、服务器属性、