
十九、Redis 服务器
Redis 服务器命令主要是用于管理 redis 服务
范例
以下范例演示了如何获取 redis 服务器的统计信息
$ redis-clililili
127、0.0.1:6379> info
# Server
redis_version:3.0.7
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:aa27a151289c9b98
redis_mode:standalone
os:Darwin 17.2.0 x86_64
arch_bits:64
multiplexing_api:kqueue
gcc_version:4.2.1
process_id:702
run_id:63a232c39b249561664fb3a427a95f1bfe33e33e
tcp_port:6379
uptime_in_seconds:611995
uptime_in_days:7
hz:10
lru_clock:15307220
config_file:/usr/local/etc/redis.conf
# Clients
connected_clients:1
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
# Memory
used_memory:1009664
used_memory_human:986.00K
used_memory_rss:602112
used_memory_peak:1009664
used_memory_peak_human:986.00K
used_memory_lua:36864
mem_fragmentation_ratio:0.60
mem_allocator:libc
# Persistence
loading:0
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1507867449
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
rdb_current_bgsave_time_sec:-1
aof_enabled:0
aof_rewrite_in_progress:0
aof_rewriteaaa
感谢您的来访,获取更多精彩文章请收藏本站。
© 版权声明
THE END









![羊了个羊抖音微信小程序苹果安卓通用(包括话题PK刷通关)[已失效]-456源码网](https://cnyma.cn/wp-content/uploads/2022/09/2022091801214643-461x1024.jpg)

![[本站同款主题]子比破解版主题最新V6.5.1破解免授权版(安装即可用)-456源码网](https://cnyma.cn/wp-content/uploads/2022/07/Screenshot_2022-07-27-17-58-33-889_com.android.browser-461x1024.jpg)
![羊了个羊抖音微信小程序_安卓苹果通用刷通关网页源码(可刷话题PK)[已失效仅供参考]-456源码网](https://cnyma.cn/wp-content/uploads/2022/09/2022091802141819-461x1024.jpg)

暂无评论内容