Skip to content

Commit 4d345ac

Browse files
authored
fix swapped vars in memory-stats, and minor wording (#2557)
1 parent 970297c commit 4d345ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commands/memory-stats.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ values. The following metrics are reported:
3333
minus `startup.allocated`) and `keys.count`
3434
* `dataset.bytes`: The size in bytes of the dataset, i.e. `overhead.total`
3535
subtracted from `total.allocated` (see `INFO`'s `used_memory_dataset`)
36-
* `dataset.percentage`: The percentage of `dataset.bytes` out of the net
36+
* `dataset.percentage`: The percentage of `dataset.bytes` out of the total
3737
memory usage
38-
* `peak.percentage`: The percentage of `peak.allocated` out of
39-
`total.allocated`
38+
* `peak.percentage`: The percentage of `total.allocated` out of
39+
`peak.allocated`
4040
* `fragmentation`: See `INFO`'s `mem_fragmentation_ratio`
4141

4242
@return

0 commit comments

Comments
 (0)