redis的INFO命令使用详解

Redis的info命令详解 # Server Redis服务器的信息 redis_version:2.8.17 Redis 服务器版本 redis_git_sha1:473f3090 Git SHA1 redis_git_dirty:0 Git dirty flag os:Linux 3.3.7-1-ARCH i686 Redis 服务器的宿主操作系统 arch_b 阅读详情

Redis 版本至 1.0.0 起可用。
info 指令提供可供人类阅读的关于Redis Server相关的信息和统计。同时提供一些可选参数来过滤选择你想要了解的信息。

Info

1、 一般形式:

INFO [section]

2、可选参数(section部分):

  • server: General information about the Redis server
  • clients: Client connections section
  • memory: Memory consumption related information
  • persistence: RDB and AOF related information
  • stats: General statistics
  • replication: Master/replica replication information
  • cpu: CPU consumption statistics
  • commandstats: Redis command statistics
  • cluster: Redis Cluster section
  • keyspace: Database related statistics
  • all: Return all sections
  • default: Return only the default set of sections

3、返回结果:
# 后面是 section 值。所有的值都是以 field:value 的形式展示。

# Server
redis_version:3.0.1
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:2c447c96fab1e1d9
redis_mode:standalone
os:Linux 2.6.32-573.18.1.el6.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:4.4.7
process_id:2116
run_id:d55e938946cdc63342ab5361bb56fa2ecdfe6d3e
tcp_port:6379
uptime_in_seconds:10364
uptime_in_days:0
hz:10
lru_clock:4097034
config_file:/opt/software/redis-3.0.1/redis.conf

# Clients
connected_clients:11
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

# Memory
used_memory:260191592
used_memory_human:248.14M
used_memory_rss:278179840
used_memory_peak:265660368
used_memory_peak_human:253.35M
used_memory_lua:35840
mem_fragmentation_ratio:1.07
mem_allocator:jemalloc-3.6.0

# Persistence
loading:0
rdb_changes_since_last_save:156
rdb_bgsave_in_progress:0
rdb_last_save_time:1564378088
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:31
rdb_current_bgsave_time_sec:-1
aof_enabled:0
aof_rewrite_in_progress:0
aof_rewrite_scheduled:0
aof_last_rewrite_time_sec:-1
aof_current_rewrite_time_sec:-1
aof_last_bgrewrite_status:ok
aof_last_write_status:ok

# Stats
total_connections_received:1680
total_commands_processed:144366
instantaneous_ops_per_sec:0
total_net_input_bytes:6610548
total_net_output_bytes:28625201
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:3
evicted_keys:0
keyspace_hits:37277
keyspace_misses:4652
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:21211
migrate_cached_sockets:0

# Replication
role:master
connected_slaves:0
master_repl_offset:0
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0

# CPU
used_cpu_sys:137.42
used_cpu_user:90.21
used_cpu_sys_children:113.54
used_cpu_user_children:763.18

# Cluster
cluster_enabled:0

# Keyspace
db0:keys=42790,expires=0,avg_ttl=000

section 详解

根据不同的Redis版本,指令返回的字段有增加或是删除,这里的字段描述基于 Redis >= 2.4。

server

命令结果:

营销测试:0>info server
"# Server
redis_version:3.0.1
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:2c447c96fab1e1d9
redis_mode:standalone
os:Linux 2.6.32-573.18.1.el6.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:4.4.7
process_id:2116
run_id:d55e938946cdc63342ab5361bb56fa2ecdfe6d3e
tcp_port:6379
uptime_in_seconds:12502
uptime_in_days:0
hz:10
lru_clock:4099172
config_file:/opt/software/redis-3.0.1/redis.conf

字段分析:

  • redis_version: Version of the Redis server (版本)
  • redis_git_sha1: Git SHA1
  • redis_git_dirty: Git dirty flag
  • redis_build_id: The build id
  • redis_mode: The server’s mode (“standalone”, “sentinel” or “cluster”) (模式:单例、哨兵或是集群)
  • os: Operating system hosting the Redis server (操作系统)
  • arch_bits: Architecture (32 or 64 bits)
  • multiplexing_api: Event loop mechanism used by Redis(Redis使用的事件循环机制)
  • atomicvar_api: Atomicvar API used by Redis
  • gcc_version: Version of the GCC compiler used to compile the Redis server(编译Redis的Gcc版本)
  • process_id: PID of the server process (进程ID)
  • run_id: Random value identifying the Redis server (to be used by Sentinel and Cluster) (标识Redis服务器的随机值(由Sentinel和Cluster使用))
  • tcp_port: TCP/IP listen port (端口)
  • uptime_in_seconds: Number of seconds since Redis server start (Redis服务器启动后的秒数)
  • uptime_in_days: Same value expressed in days (Redis服务器启动后的天数)
  • hz: The server’s frequency setting (服务器的频率设置)
  • lru_clock: Clock incrementing every minute, for LRU management
  • executable: The path to the server’s executable (redis-server执行文件位置)
  • config_file: The path to the config file (redis.conf配置文件位置)

clients

命令结果:

营销测试:0>info clients
# Clients
connected_clients:111
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

字段分析:

  • connected_clients: Number of client connections (excluding connections from replicas) (客户端连接数(不包括来自副本的连接))
  • client_longest_output_list: longest output list among current client connections (当前客户端连接中最长的输出列表)
  • client_biggest_input_buf: biggest input buffer among current client connections (当前客户端连接中最大的输入缓冲区)
  • blocked_clients: Number of clients pending on a blocking call (BLPOP, BRPOP, BRPOPLPUSH) (阻塞队列,呼叫中待处理的客户端数量(BLPOP,BRPOP,BRPOPLPUSH))

memory

命令结果:

营销测试:0>info memory
# Memory
used_memory:262287880
used_memory_human:250.14M
used_memory_rss:278179840
used_memory_peak:265875032
used_memory_peak_human:253.56M
used_memory_lua:35840
mem_fragmentation_ratio:1.06
mem_allocator:jemalloc-3.6.0

字段分析:

  • used_memory: Total number of bytes allocated by Redis using its allocator (either standard libc, jemalloc, or an alternative allocator such as tcmalloc) (Redis使用其分配器分配的总字节数)
  • used_memory_human: Human readable representation of previous value (Redis使用其分配器分配的值,人类可读)
  • used_memory_rss: Number of bytes that Redis allocated as seen by the operating system (a.k.a resident set size). This is the number reported by tools such as top(1) and ps(1) (操作系统看到的Redis分配的字节数)
  • used_memory_peak: Peak memory consumed by Redis (in bytes) (Redis消耗的峰值内存)
  • used_memory_peak_human: Human readable representation of previous value
  • used_memory_lua: Number of bytes used by the Lua engine (Lua引擎使用的字节数)
  • mem_fragmentation_ratio: Ratio between used_memory_rss and used_memory (used_memory_rss和used_memory之间的比率)
  • mem_allocator: Memory allocator, chosen at compile time (内存分配器,在编译时选择)

备注:
理想情况下,used_memory_rss值应仅略高于used_memory。 当rss >> used 时,差异很大意味着存在内存碎片 (internal or external),可以通过检查mem_fragmentation_ratio来评估。当 used >> rss,这意味着Redis内存的一部分已被操作系统调用其他占用了,这会导致访问Redis时产生一些延迟。
由于Redis无法控制其分配如何映射到内存页面,因此高used_memory_rss通常是内存使用量激增的结果。

persistence

命令结果:

营销测试:0>info persistence 
# Persistence
loading:0
rdb_changes_since_last_save:169
rdb_bgsave_in_progress:0
rdb_last_save_time:1564383418
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:31
rdb_current_bgsave_time_sec:-1
aof_enabled:0
aof_rewrite_in_progress:0
aof_rewrite_scheduled:0
aof_last_rewrite_time_sec:-1
aof_current_rewrite_time_sec:-1
aof_last_bgrewrite_status:ok
aof_last_write_status:ok

字段分析:

  • loading: Flag indicating if the load of a dump file is on-going (转储文件的加载是否正在进行的标志)
  • rdb_changes_since_last_save: Number of changes since the last dump (自上次转储以来的更改数)
  • rdb_bgsave_in_progress: Flag indicating a RDB save is on-going (RDB保存是否正在进行的标识)
  • rdb_last_save_time: Epoch-based timestamp of last successful RDB save (上次成功RDB保存的基于纪元的时间戳)
  • rdb_last_bgsave_status: Status of the last RDB save operation (最后一次RDB保存是否成功)
  • rdb_last_bgsave_time_sec: Duration of the last RDB save operation in seconds (最后一次RDB保存操作的持续时间,以秒为单位)
  • rdb_current_bgsave_time_sec: Duration of the on-going RDB save operation if any
    rdb_last_cow_size: The size in bytes of copy-on-write allocations during the last RBD save operation (上一次RBD保存操作期间写时复制分配的字节大小)
  • aof_enabled: Flag indicating AOF logging is activated
  • aof_rewrite_in_progress: Flag indicating a AOF rewrite operation is on-going
  • aof_rewrite_scheduled: Flag indicating an AOF rewrite operation will be scheduled once the on-going RDB save is complete.
  • aof_last_rewrite_time_sec: Duration of the last AOF rewrite operation in seconds
  • aof_current_rewrite_time_sec: Duration of the on-going AOF rewrite operation if any
  • aof_last_bgrewrite_status: Status of the last AOF rewrite operation
  • aof_last_write_status: Status of the last write operation to the AOF
  • aof_last_cow_size: The size in bytes of copy-on-write allocations during the last AOF rewrite operation

stats

命令结果:

营销测试:0>info stats
# Stats
total_connections_received:6113
total_commands_processed:264746
instantaneous_ops_per_sec:0
total_net_input_bytes:12067215
total_net_output_bytes:52412027
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:3
evicted_keys:0
keyspace_hits:66766
keyspace_misses:8293
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:2562356
migrate_cached_sockets:0

字段分析:

  • total_connections_received: Total number of connections accepted by the server (服务器接受的连接总数)
  • total_commands_processed: Total number of commands processed by the server (服务器处理的命令总数)
  • instantaneous_ops_per_sec: Number of commands processed per second (每秒处理的命令数)
  • total_net_input_bytes: The total number of bytes read from the network (从网络读取的总字节数)
  • total_net_output_bytes: The total number of bytes written to the network (写入网络的总字节数)
  • instantaneous_input_kbps: The network’s read rate per second in KB/sec (网络的每秒读取速率,以KB /秒为单位)
  • instantaneous_output_kbps: The network’s write rate per second in KB/sec (网络的每秒写入速率,以KB /秒为单位)
  • rejected_connections: Number of connections rejected because of maxclients limit (由于maxclients限制而被拒绝的连接数)
  • sync_full: The number of full resyncs with replicas
  • sync_partial_ok: The number of accepted partial resync requests
  • sync_partial_err: The number of denied partial resync requests
  • expired_keys: Total number of key expiration events (key到期事件的总数)
  • evicted_keys: Number of evicted keys due to maxmemory limit (由于maxmemory限制而被驱逐的密钥数量)
  • keyspace_hits: Number of successful lookup of keys in the main dictionary (主字典中键的成功查找次数)
  • keyspace_misses: Number of failed lookup of keys in the main dictionary (主字典中键的查找失败次数)
  • pubsub_channels: Global number of pub/sub channels with client subscriptions (具有客户端订阅的全局pub / sub通道数)
  • pubsub_patterns: Global number of pub/sub pattern with client subscriptions
  • latest_fork_usec: Duration of the latest fork operation in microseconds
  • migrate_cached_sockets: The number of sockets open for MIGRATE purposes

replication

命令结果:

营销测试:0>info replication 
# Replication
role:master
connected_slaves:0
master_repl_offset:0
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0

字段说明:

  • role: Value is “master” if the instance is replica of no one, or “slave” if the instance is a replica of some master instance. Note that a replica can be master of another replica (chained replication).
  • connected_slaves: Number of connected replicas
  • master_repl_offset: The server’s current replication offset
  • repl_backlog_active: Flag indicating replication backlog is active
  • repl_backlog_size: Total size in bytes of the replication backlog buffer
  • repl_backlog_first_byte_offset: The master offset of the replication backlog buffer
  • repl_backlog_histlen: Size in bytes of the data in the replication backlog buffer

cpu

命令结果:

营销测试:0>info cpu
"# CPU
used_cpu_sys:328.35
used_cpu_user:168.55
used_cpu_sys_children:234.90
used_cpu_user_children:1554.65

字段说明:

  • used_cpu_sys: System CPU consumed by the Redis server
  • used_cpu_user:User CPU consumed by the Redis server
  • used_cpu_sys_children: System CPU consumed by the background processes
  • used_cpu_user_children: User CPU consumed by the background processes

commandstats

调用次数(calls),这些命令消耗的总CPU时间(usec)以及每个命令执行所消耗的平均CPU时间(usec_per_call)。

营销测试:0>info commandstats
# Commandstats
cmdstat_get:calls=20354,usec=635227,usec_per_call=31.21
cmdstat_setex:calls=132,usec=52772,usec_per_call=399.79
cmdstat_exists:calls=3,usec=51,usec_per_call=17.00
cmdstat_lpush:calls=1,usec=258,usec_per_call=258.00
cmdstat_hset:calls=9778,usec=3244155,usec_per_call=331.78
cmdstat_hget:calls=80836,usec=9376850,usec_per_call=116.00
cmdstat_hmset:calls=129,usec=61467,usec_per_call=476.49
cmdstat_hincrby:calls=148,usec=16559,usec_per_call=111.89
cmdstat_hdel:calls=268,usec=15965,usec_per_call=59.57
cmdstat_hvals:calls=50,usec=12155,usec_per_call=243.10
cmdstat_hgetall:calls=32088,usec=2823967,usec_per_call=88.01
cmdstat_incrby:calls=1185,usec=476440,usec_per_call=402.06
cmdstat_select:calls=17,usec=358,usec_per_call=21.06
cmdstat_expire:calls=1,usec=37,usec_per_call=37.00
cmdstat_auth:calls=9176,usec=312602,usec_per_call=34.07
cmdstat_ping:calls=298832,usec=4627400,usec_per_call=15.48
cmdstat_info:calls=19,usec=9877,usec_per_call=519.84

cluster

命令结果:

营销测试:0>info cluster
"# Cluster
cluster_enabled:0

字段说明:

  • cluster_enabled: Indicate Redis cluster is enabled

keyspace

在每个数据库的主词典上。 统计信息是key数和到期key数。

营销测试:0>info 营销测试:0>keyspace 
"# Keyspace
db0:keys=42792,expires=2,avg_ttl=4736072

本文源至 https://redis.io/commands/info 。

uniapp 使用摄像头 live-pusher (APP) uniapp 中开发 app 时使用live-pusher踩过的坑 阅读详情

相关推荐

向量库深度解析:选型、索引原理与生产实践

本文系统解析五大主流向量库(pgvector、Milvus、Weaviate、ChromaDB、Faiss)的定位、优缺点与适用场景,深入拆解FLAT、IVF、HNSW等核心索引原理,并重点分析Milvus的Compaction机制。针对数据治理场景,提供精准选型建议:中小规模优先pgvector或Weaviate,超大规模选择Milvus,开发测试推荐ChromaDB。核心索引推荐HNSW,兼顾检索速度与召回率。全文从理论到实践,为开发者提供清晰的向量库选型逻辑与生产落地指南。

a123147abc的博客 362

Redis集群Cluster部署

这篇Redis 集群部署笔记参考的书籍资料是: 《Redis入门指南》第二版,作者:李子骅 第8章 《Redis开发与运维》 作者:付磊 第10章 以下是学习笔记,记录了Redis集群部署过程,使用了Redis Commands 命令,大家也可以用redis-trib.rb 这个集群管理工具,变tube来操作Redis集群部署。 操作环境准备了6台虚拟机,因为Redis 集群里至少需要3个master数据库才能正常运行。 所以这个架构是3主3从。 IP 端口 功能 192.168.10

分享身边生活经验blog 897

【Attention Is All You Need】Transformer模型精读

Attention Is All You Need》这篇论文奠定了Transformer模型的基础,为深度学习的发展提供了新的方向。Transformer通过自注意力机制和并行化处理显著提升了计算效率和模型性能。然而,Transformer的广泛应用也带来了新的挑战,如计算资源的消耗和对长序列的处理能力等。随着技术的不断发展,研究人员已经提出了诸如Efficient Transformer、Reformer等变种,旨在提升Transformer的效率和适应性。

Lewiz_124的博客 1499

redis info参数命令

redis info 性能运行状态查看

u010519674的专栏 813

CMap数据库实战:从基因表达谱到药物重定位的可视化分析

本文详细介绍了如何利用CMap数据库进行药物重定位的可视化分析。通过实战演示,从差异基因列表准备、CMap查询参数设置,到结果筛选与高级可视化(如热图与OncoPrint风格图),系统讲解了从数据到洞察的全流程,并提供了关键的解读与验证指南,帮助研究者高效挖掘老药新用的潜力。

mango的博客 589

视频教程-SAP S4 HANA FICO COPA 获利能力分析-ERP

SAP S4 HANA FICO COPA 获利能力分析 从业超过8年的SA...

weixin_33456805的博客 1442

Redis集群模式Cluster

虽然Redis哨兵模式可以做到故障自动切换,但每台Redis储存相同的数据,很浪费内存,从节点下线后,连接到从的客户端也没办法连接到其他可用的从节点。 redis集群模式就能有效的解决这个问题。 搭建 先新建存放配置文件的文件夹 mkdir 7000 7001 7002 7003 7004 7005 在每个配置文件夹中创建redis.conf,下列配置是最少选项的集群的配置文件,记得将port修改成对应文件夹的端口 port 7000 cluster-enabled yes cluster-config-

qq_35597828的博客 1064

NVMe-MI --- Message Servicing Model(消息服务模型)

本文主要介绍NVMe-MI消息服务模型,两个主要类别是请求消息和响应消息。并介绍带外机制消息服务状态机。

智小星的博客 2014

Redis服务信息--Info指令

Redis服务信息–Info指令 在使用Redis时候,可能会遇到一些异常情况,我们排查完代码问题后,会需要对Redis进行排查,在对Redis错误进行排查之前,需要了解Redis运行状态,通过强大Info指令,可以清晰的知道Redis内部的一些运行参数。 Info指令的信息是最全面的,分为如下9大块,每一块信息都有非常多的参数,如下: Server:服务器运行环境参数 Clients:客户端相关信息 Memory:服务器运行内存统计数据 Persistence:持久化信息 Stats:通用统计数据 R

0102的博客 412

NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty()

Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to()输出(llama) (base) [root@localhost home]# nvidia-smi Unable to determine the device handle for GPU0000:09:00.0: Unknown Error。这是典型的“孤儿进程”,但它还是。(僵尸进程),占用 GPU 资源。如果进程仍然不消失,并且。,这意味着它的父进程是。

m0_61636632的博客 2096

GVINS数据采集(u-blox fp9 + D435i)

1、配置千寻的RTK账号 采集数据当天购买千寻的RTK账号,然后在Window下,输入账号和密码 (具体的步骤如之前面连接所示),查看u-center软件上的信息,确保接收机可以收到RTK信息; 2、查看Linux系统下u-blox是否可以正常接受GPS信号和RTK数据流 1、GPS信号信息 // 打开端口 1 cd ublox_f9p/src // 或者在终端1下也可以 source devel/setup.bash r.....................

努力努力努力 2609

Redis(设计与实现):49---集群之集群节点、节点启动(CLUSTER MEET/NODE命令、cluster-enabled选项)

一、集群介绍 Redis集群是Redis提供的分布式数据库方案,集群通过分片(sharding)来进行数据共享,并提供复制和故障转移功能 二、集群节点介绍 一个Redis集群通常由多个节点(node)组成,在刚开始的时候,每个节点都是相互独立的,它们都处于一个只包含自己的集群当中,要组建一个真正可工作的集群,我们必须将各个独立的节点连接起来,构成一个包含多个节点的集群 节点的连接(CLUST...

董哥的黑板报 1439

ESD防护设计宝典(十一):CE(传导发射)超标问题排查与解决

(Conducted Emission, CE),亦称为传导骚扰,是电子电气设备或系统内部的电压、电流通过信号线、电源线或地线向外传输,对其他电子电气设备或系统造成电磁干扰的物理现象。其。

m0_56451176的博客 857

Redis INFO命令详解

INFO命令会返回Redis服务器的状态信息和统计数据,计算机可以很简单地解析这些返回数据,用户也可以轻松地阅读这些返回数据。 可以通过以下的可选参数,选择查看特定分段的服务器信息: server:Redis服务器相关的通用信息 clients:客户端连接的相关信息 memory:内存消耗的相关信息 persistence:RDB(Redis DataBase)和AOF(Append-O...

zc520yzy的博客 2278

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

Redis中info命令详解

目录 序言: 1:Server 2:Clients 3:Memory 4:Persistence 5:Stats 6:Replication 7:CPU 8:Cluster 9:Keyspace 序言: redis中info命令可以很直观的通过各种维度属性描述信息告知我们当前redis的状态。我们可以通过此命令构建redis的实时监控系统。在上线之前的压测过程中,监控red...

F_Hello_World的博客 3061

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

Redis INFO 命令详解

没有代码的解释不是解释,没有deadline的任务不是任务,没有流程图或分享的源码阅读不是源码阅读,没有报告的性能测试不是性能测试。 —— 漠冰 曰这篇文章打算作为INFO命令的输出整理汇总,目前还未全部完成…1. 环境代码版本:redis-4.0.6 工具:本地用CLion打开,增加CMakeLists.txt就可以调试了

杨博东的博客 8307

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

Redis info 命令详解

官网原址:https://redis.io/commands/info 命令:info 该命令仅展示当前节点的信息,而不是集群汇总信息 Server(服务的系统配置) 属性名 属性值 说明 redis_version 5.0.8 Redis版本号 redis_git_sha1 00000000 GIT SHA1 redis_git_dirty 0 Git dirty flag redis_build_id cadca3f2c5e718a5 Redis 构建生成的唯一码 red

u013933879的博客 607

【死磕 Redis】----- info 命令详解

原文:https://www.topjava.cn/category/1391389927996002304 『chenssy』 Redis 提供了一个非常有用的查看状态信息的命令:info。它以一种易于理解和阅读的格式,返回关于 Redis 服务器的各种信息和统计数值。使用方法有如下三种: info:部分Redis系统状态统计信息。 info all:全部Redis系统状态统计信息。 info section:某一块的系统状态统计信息,其中section可以忽略大小写。 详细内容如下表格: .

chenssy 的技术博客 4734

redis info命令详解

redis-cli连接服务器后,使用info命令查看Redis信息和状态: INFO [section] 以一种易于解释(parse)且易于阅读的格式,返回关于 Redis 服务器的各种信息和统计数值。

zl 6189

Redis Cluster 命令Info详解

本文仅作学习使用,主要参考Redis开发与运维一书以及github https://cachecloud.github.io > info server # Server redis_version:3.0.6 --redis服务版本 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:3edbb92b537d6

Biu Biu Biu ~~~~~ 6513

redis info 命令详解

详见: http://blog.yemou.net/article/query/info/tytfjhfascvhzxcyt119   Redis Info 命令以一种易于理解和阅读的格式,返回关于 Redis 服务器的各种信息和统计数值。   通过给定可选的参数 section ,可以让命令只返回某一部分的信息:   server : 一般 Redis 服务器信息,包含以下域: ...

grefr的技术博客,博客已迁移至 http://blog.yemou.net 507

6 redis 编译失败_【死磕 Redis】 info 命令详解

Redis 提供了一个非常有用的查看状态信息的命令:info。它以一种易于理解和阅读的格式,返回关于 Redis 服务器的各种信息和统计数值。使用方法有如下三种:info:部分Redis系统状态统计信息。info all:全部Redis系统状态统计信息。info section:某一块的系统状态统计信息,其中section可以忽略大小写。详细内容如下表格:参数名说明server获取 se...

weixin_42396918的博客 479
上一篇: redis 任何命令都执行不了,抛错 NOAUTH Authentication required
下一篇: springboot启动读取外部配置文件
She_lock
博客等级 码龄12年 157粉丝 134原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值