diff options
Diffstat (limited to 'Documentation/blockdev/zram.txt')
-rw-r--r-- | Documentation/blockdev/zram.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/blockdev/zram.txt b/Documentation/blockdev/zram.txt index 9610be3e9d36..7920f4026d36 100644 --- a/Documentation/blockdev/zram.txt +++ b/Documentation/blockdev/zram.txt | |||
@@ -144,6 +144,18 @@ whitespace: | |||
144 | invalid_io | 144 | invalid_io |
145 | notify_free | 145 | notify_free |
146 | 146 | ||
147 | File /sys/block/zram<id>/mm_stat | ||
148 | |||
149 | The stat file represents device's mm statistics. It consists of a single | ||
150 | line of text and contains the following stats separated by whitespace: | ||
151 | orig_data_size | ||
152 | compr_data_size | ||
153 | mem_used_total | ||
154 | mem_limit | ||
155 | mem_used_max | ||
156 | zero_pages | ||
157 | num_migrated | ||
158 | |||
147 | 8) Deactivate: | 159 | 8) Deactivate: |
148 | swapoff /dev/zram0 | 160 | swapoff /dev/zram0 |
149 | umount /dev/zram1 | 161 | umount /dev/zram1 |