码迷,mamicode.com
首页 > 其他好文 > 详细

[redis]redis常用

时间:2018-09-21 11:00:01      阅读:164      评论:0      收藏:0      [点我收藏+]

标签:mon   useful   redis   lin   top   value   data   elf   rman   

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常用

标签:mon   useful   redis   lin   top   value   data   elf   rman   

原文地址:https://www.cnblogs.com/iiiiiher/p/9684950.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!