1. 程式人生 > >[redis]redis常用

[redis]redis常用

start eve rman check mark The key fail files

https://redis.io/topics/quickstart

$ redis-cli ping
PONG
redis-server    is the Redis Server itself.
redis-sentinel  is the Redis Sentinel executable (monitoring and failover).
redis-cli       is the command line interface utility to talk with Redis.
redis-benchmark is used to check Redis performances.
redis-check-aof and redis-check-dump are useful in the rare event of corrupted data files.
$ redis-cli                                                                
redis 127.0.0.1:6379> ping
PONG
redis 127.0.0.1:6379> set mykey somevalue
OK
redis 127.0.0.1:6379> get mykey
"somevalue"

[redis]redis常用