mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 23:31:03 +00:00
Merge pull request #5633 from oranagra/frag_bytes_signed
fix #5580, display fragmentation and rss overhead bytes as signed
This commit is contained in:
commit
03629ba0b6
@ -3243,11 +3243,11 @@ sds genRedisInfoString(char *section) {
|
|||||||
"allocator_frag_ratio:%.2f\r\n"
|
"allocator_frag_ratio:%.2f\r\n"
|
||||||
"allocator_frag_bytes:%zu\r\n"
|
"allocator_frag_bytes:%zu\r\n"
|
||||||
"allocator_rss_ratio:%.2f\r\n"
|
"allocator_rss_ratio:%.2f\r\n"
|
||||||
"allocator_rss_bytes:%zu\r\n"
|
"allocator_rss_bytes:%zd\r\n"
|
||||||
"rss_overhead_ratio:%.2f\r\n"
|
"rss_overhead_ratio:%.2f\r\n"
|
||||||
"rss_overhead_bytes:%zu\r\n"
|
"rss_overhead_bytes:%zd\r\n"
|
||||||
"mem_fragmentation_ratio:%.2f\r\n"
|
"mem_fragmentation_ratio:%.2f\r\n"
|
||||||
"mem_fragmentation_bytes:%zu\r\n"
|
"mem_fragmentation_bytes:%zd\r\n"
|
||||||
"mem_not_counted_for_evict:%zu\r\n"
|
"mem_not_counted_for_evict:%zu\r\n"
|
||||||
"mem_replication_backlog:%zu\r\n"
|
"mem_replication_backlog:%zu\r\n"
|
||||||
"mem_clients_slaves:%zu\r\n"
|
"mem_clients_slaves:%zu\r\n"
|
||||||
|
@ -864,11 +864,11 @@ struct redisMemOverhead {
|
|||||||
float dataset_perc;
|
float dataset_perc;
|
||||||
float peak_perc;
|
float peak_perc;
|
||||||
float total_frag;
|
float total_frag;
|
||||||
size_t total_frag_bytes;
|
ssize_t total_frag_bytes;
|
||||||
float allocator_frag;
|
float allocator_frag;
|
||||||
size_t allocator_frag_bytes;
|
ssize_t allocator_frag_bytes;
|
||||||
float allocator_rss;
|
float allocator_rss;
|
||||||
size_t allocator_rss_bytes;
|
ssize_t allocator_rss_bytes;
|
||||||
float rss_extra;
|
float rss_extra;
|
||||||
size_t rss_extra_bytes;
|
size_t rss_extra_bytes;
|
||||||
size_t num_dbs;
|
size_t num_dbs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user