summaryrefslogtreecommitdiff
path: root/system/compsize/README
blob: 558075e74d68610b281b50273f49ae82e6d5dae2 (plain)
1
2
3
4
5
6
7
8
9
10
11
compsize takes a list of files (given as arguments) on a btrfs
filesystem and measures used compression types and effective compression
ratio, producing a report such as:

[~]$ compsize /usr/share
Processed 120101 files.
Type       Perc     Disk Usage   Uncompressed
Data        58%      1.1G         1.9G
none       100%      351M         351M
zlib        29%       41M         137M
lzo         51%      776M         1.4G