[qishibo/AnotherRedisDesktopManager]软件右侧的服务器信息不显示

2024-06-25 197 views
0
OS

Mac M1 MacOS 13.2.1

VERSION

1.6.1

ISSUE DESCRIPTION

服务器信息不显示

image

回答

8

这是连接失败了吧,打开有报错么

1

数据可以正常查询和操作的,我这里只是为了方便截图,找了一个空的库,什么报错信息都没有的

0

那应该是info命令被禁用了,打开命令行试一下

1

info命令可以正常使用的

image
8

那就怪了,首页就是根据info命令返回的结果处理的。你的是常规的Redis么,有可能返回的结果格式有区别?可以贴一下完整的结果,我解析一下试试

9

info里没啥敏感信息,可以放心贴,或者可以把value换成xxx

9
# Server
redis_version:6.2.22(Baidu Released)
redis_git_sha1:9f4b****
redis_git_dirty:1
redis_build_id:266257f888f*****
redis_mode:standalone
os:Linux 2.6.32-696.16.1.el6.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:c11-builtin
gcc_version:8.2.0
process_id:33***
process_supervised:no
run_id:c6605610367c8a415f98620a8cdd68****
cluster_id:0
g_shard_id:0
shard_id:0
instance_id:0
op_id:63159****
tcp_port:6379
server_time_usec:1691459762****
uptime_in_seconds:9463055
uptime_in_days:109
hz:20
configured_hz:10
lru_clock:13738162
executable:/root/agent/bin/redis-server
config_file:/root/agent/conf/redis_.conf
io_threads_active:0

# Clients
connected_clients:3030
cluster_connections:0
maxclients:60000
client_recent_max_input_buffer:201
client_recent_max_output_buffer:20504
blocked_clients:42
tracking_clients:0
clients_in_timeout_table:40

# Memory
used_memory:3398384728
used_memory_human:3.16G
used_memory_rss:3271655424
used_memory_rss_human:3.05G
used_memory_peak:6958321112
used_memory_peak_human:6.48G
used_memory_peak_perc:48.84%
used_memory_overhead:431489606
used_memory_startup:3874008
used_memory_dataset:2966895122
used_memory_dataset_perc:87.40%
allocator_allocated:3398950952
allocator_active:3500011520
allocator_resident:3571122176
total_system_memory:67691606016
total_system_memory_human:63.04G
used_memory_lua:1099776
used_memory_lua_human:1.05M
used_memory_scripts:686176
used_memory_scripts_human:670.09K
used_memory_hotkeys:0
used_memory_hotkeys_human:0B
number_of_cached_scripts:939
used_memory_increment_save:0
used_memory_increment_save_human:0B
maxmemory:34359738368
maxmemory_human:32.00G
maxmemory_policy:volatile-ttl
allocator_frag_ratio:1.03
allocator_frag_bytes:101060568
allocator_rss_ratio:1.02
allocator_rss_bytes:71110656
rss_overhead_ratio:0.92
rss_overhead_bytes:-299466752
mem_fragmentation_ratio:0.96
mem_fragmentation_bytes:-126727248
mem_not_counted_for_evict:192
mem_replication_backlog:268438776
mem_total_replication_buffers:269280176
mem_clients_slaves:844720
mem_clients_normal:62124574
mem_aof_buffer:192
mem_allocator:jemalloc-5.1.0
active_defrag_running:0
lazyfree_pending_objects:0
lazyfreed_objects:41

# Persistence
loading:0
current_cow_peak:0
current_cow_size:0
current_cow_size_age:0
current_fork_perc:0.00
current_save_keys_processed:0
current_save_keys_total:0
rdb_changes_since_last_save:3815578485
rdb_bgsave_in_progress:0
rdb_last_save_time:1681996784
rdb_last_save_opid:2242
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:5
rdb_current_bgsave_time_sec:-1
rdb_last_cow_size:2998272
rdb_increment_save_in_progress:0
rdb_increment_save_cur_db:-1
rdb_increment_save_cur_db_processed_bucket_idx:0
rdb_increment_save_cur_db_bucket_size:0
rdb_increment_save_cur_db_processed_perc:0.00%
rdb_increment_save_async_job_count:0
rdb_increment_save_conflict_count:0
rdb_tde_enabled:0
aof_enabled:1
aof_rewrite_in_progress:0
aof_rewrite_scheduled:0
aof_last_rewrite_time_sec:11
aof_current_rewrite_time_sec:-1
aof_last_bgrewrite_status:ok
aof_last_write_status:ok
aof_last_cow_size:113094656
aof_load_strategy:order
module_fork_in_progress:0
module_fork_last_cow_size:0
aof_current_name:appendonly.aof
aof_current_size:3035147190
aof_total_size:0
aof_base_size:2563368654
aof_pending_rewrite:0
aof_buffer_length:0
aof_rewrite_buffer_length:0
aof_pending_bio_fsync:0
aof_pending_bio_write:0
aof_delayed_fsync:0
aof_async_write_memory:0
aof_async_write_error_cnt:0
aof_async_write_wait_cnt:0

# Stats
total_connections_received:586500609
total_commands_processed:8468325943
instantaneous_ops_per_sec:343
total_net_input_bytes:714488552701
total_net_output_bytes:5052891887862
instantaneous_input_kbps:18.43
instantaneous_output_kbps:678.49
rejected_connections:0
sync_full:1
sync_partial_ok:0
sync_partial_err:1
increment_save_ok:0
expired_keys:1187954829
expired_stale_perc:1.73
expired_time_cap_reached_count:278084
expire_cycle_cpu_milliseconds:5771886
evicted_keys:0
keyspace_hits:1392786538
keyspace_misses:798616773
pubsub_channels:22
pubsub_patterns:8
latest_fork_usec:75308
total_forks:361
migrate_cached_sockets:0
slave_expires_tracked_keys:0
active_defrag_hits:0
active_defrag_misses:0
active_defrag_key_hits:0
active_defrag_key_misses:0
tracking_total_keys:0
tracking_total_items:0
tracking_total_prefixes:0
unexpected_error_replies:0
total_error_replies:53495
dump_payload_sanitizations:0
total_reads_processed:4719954902
total_writes_processed:4900515915
io_threaded_reads_processed:0
io_threaded_writes_processed:0
forbid_write_active:0
forbid_write_last_start_time:0
forbid_write_last_duration:0
forbid_write_last_killer:none
latency_avg_usec:16.066
latency_p0_usec:0.001
latency_p50_usec:3.007
latency_p95_usec:76.287
latency_p99_usec:89.087
latency_p999_usec:109.055
latency_p9999_usec:109.055
latency_p100_usec:109.055
remote_write_cnt:0
remote_delay_cnt:0
remote_conflict_cnt:0

# Replication
role:master
connected_slaves:1
aof_repl_thread_num:0
slave0:ip=*.*.*.*,port=6379,state=online,offset=598577167103,lag=1
master_failover_state:no-failover
master_replid:c06f1fd121700fcef158d0b129511****
master_replid2:e495bc2424981942d725e3aa130****
master_repl_offset:598577187379
second_repl_offset:128514158042
repl_backlog_active:1
repl_backlog_size:268435456
repl_backlog_first_byte_offset:598308741547
repl_backlog_histlen:268445833

# CPU
used_cpu_sys:76707.010761
used_cpu_user:202317.628045
used_cpu_sys_children:1094.571599
used_cpu_user_children:1011.572217
used_cpu_sys_main_thread:75443.357866
used_cpu_user_main_thread:201754.347677

# Modules

# Errorstats
errorstat_BUSYGROUP:count=42038
errorstat_ERR:count=10555
errorstat_NOAUTH:count=354
errorstat_NOSCRIPT:count=39
errorstat_WRONGPASS:count=450
errorstat_WRONGTYPE:count=59

# Cluster
cluster_enabled:0

# Keyspace
db0:keys=1199085,expires=494891,avg_ttl=32652790514,big_keys=9
db1:keys=12635,expires=4865,avg_ttl=1566742473,big_keys=8
db2:keys=179,expires=0,avg_ttl=0,big_keys=0
db3:keys=9188,expires=65,avg_ttl=74635860,big_keys=0
db4:keys=4789,expires=835,avg_ttl=300599084546,big_keys=0
db5:keys=4010,expires=406,avg_ttl=299249098,big_keys=0
db6:keys=167,expires=0,avg_ttl=0,big_keys=0
db7:keys=332,expires=332,avg_ttl=21890928,big_keys=0
db8:keys=148,expires=39,avg_ttl=2799134,big_keys=0
db9:keys=23,expires=20,avg_ttl=938688232,big_keys=0
db10:keys=5,expires=1,avg_ttl=177525781,big_keys=0
db13:keys=1,expires=0,avg_ttl=0,big_keys=0
db14:keys=6,expires=2,avg_ttl=1296589918,big_keys=0
db16:keys=1,expires=0,avg_ttl=0,big_keys=0
db18:keys=209,expires=0,avg_ttl=0,big_keys=0
db19:keys=8,expires=3,avg_ttl=19985782,big_keys=0
db20:keys=2,expires=0,avg_ttl=0,big_keys=0

# TKeyspace
db:keys=1230788,expires=501459
> 
ERR unknown command ``, with args beginning with: 
1
# 这是常规redis的keyspace
db20:keys=2,expires=0,avg_ttl=0,big_keys=0

# TKeyspace
db:keys=1230788,expires=501459

你这里多了个TKeyspace的字段,普通redis没有的,并且格式和常规的相比差了avg_ttl的信息,所以解析失败了

7

我兼容一下吧,db后面必须跟数字

9

这边用的是百度的云服务,可能会跟常规的有些差异