Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the common monitoring information commands in Redis

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "what are the common monitoring information commands in Redis". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "what are the common Redis monitoring information commands?"

View the total number of commands launched to the current processing:

# redis-cli info stats | grep total_commands

Total_commands_processed:23693286991

View operations per second:

# redis-cli info stats | grep instantaneous_ops_per_sec

Instantaneous_ops_per_sec:10861

View the number of expired key:

# redis-cli info stats | grep expired_keys

Expired_keys:0

View the total number of command processes:

# redis-cli info stats | grep total_commands_processed

Total_commands_processed:23695648616

View the total incoming and outgoing traffic:

# redis-cli info stats | grep net

Total_net_input_bytes:62429833490720

Total_net_output_bytes:83883788471819

View slowlog slow query configuration:

# redis-cli config get slowlog-log-slower-than

1) "slowlog-log-slower-than"

2) "10000"

View the memory fragmentation rate:

# redis-cli info memory | grep mem_fragmentation_ratio

Mem_fragmentation_ratio:1.08

View the replication delay command:

# redis-cli-latency

Min: 0, max: 1, avg: 0.16 (174samples)

Min: 0, max: 1, avg: 0.16 (196 samples)

Min: 0, max: 1, avg: 0.16 (253 samples)

Min: 0, max: 1, avg: 0.16,273 samples)

Min: 0, max: 1, avg: 0.16 (292 samples)

Min: 0, max: 1, avg: 0.16 (313 samples)

Min: 0, max: 1, avg: 0.16 (335 samples)

Min: 0, max: 1, avg: 0.15 (429 samples)

Min: 0, max: 1, avg: 0.15 (467samples)

At this point, I believe you have a deeper understanding of "what are the common Redis monitoring information commands?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report