Home >Database >Redis >Two ways to check the redis version

Two ways to check the redis version

尚
forward
2020-03-21 09:43:1512151browse

Two ways to check the redis version

There are two ways to check the redis version:

1. redis-server --version and redis-server -v

The results obtained Yes: Redis server v=2.6.10 sha=00000000:0 malloc=jemalloc-3.2.0 bits=32

2, redis-cli --version and redis-cli -v

The result obtained is: redis-cli 2.6.10

Strictly speaking: the result obtained through redis-cli should be the version of redis-cli, but redis-cli and redis-server generally come from the same set Compiled from source code. So it should be the same.

Related recommendations:

mysql video tutorial: https://www.php.cn/course/list/51.html

The above is the detailed content of Two ways to check the redis version. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:oschina.net. If there is any infringement, please contact admin@php.cn delete