Menampilkan status penggunaan zram

Untuk menampilkan status penggunaan zram bisa dengan menjalankan

# zramctl --output-all
NAME     DISKSIZE DATA COMPR ALGORITHM STREAMS ZERO-PAGES TOTAL MEM-LIMIT MEM-USED MIGRATED MOUNTPOINT
/dev/zram0
               1G   4K   74B lzo-rle         4          0   12K        0B      12K       0B [SWAP]

Berikut penjelasan masing-masing kolomnya

NAME zram device name DISKSIZE limit on the uncompressed amount of data DATA uncompressed size of stored data COMPR compressed size of stored data ALGORITHM the selected compression algorithm STREAMS number of concurrent compress operations ZERO-PAGES empty pages with no allocated memory TOTAL all memory including allocator fragmentation and metadata overhead MEM-LIMIT memory limit used to store compressed data MEM-USED memory zram have been consumed to store compressed data MIGRATED number of objects migrated by compaction MOUNTPOINT where the device is mounted

 Share!

 
comments powered by Disqus