#filesize #statistics #sampling #filesystem #tool

bin+lib histodu

Summarize file size distribution, quickly

1 unstable release

0.1.0 Dec 14, 2023

#48 in #sampling

MIT/Apache

13KB
223 lines

histodu

Summarize file size distribution, quickly.

$ histodu /nix/store
count = 14299237
mean = 46.1 kiB
0% = 1 B
50% = 815 B
90% = 17.1 KB
99% = 330.8 KB
100% = 1.2 GB
72.925% = 4.0 kiB
96.197% = 64.0 kiB
99.584% = 1.0 MiB

11.25user 154.21system 0:12.16elapsed 1360%CPU (0avgtext+0avgdata 507416maxresident)k
2087168inputs+0outputs (0major+145077minor)pagefaults 0swaps

License

MIT OR Apache-2.0.

Credit


lib.rs:

WARNING: The library interface of this crate is considered unstable and should not be relied on. The crate version is solely corresponding to the binary CLI.

Dependencies

~4MB
~70K SLoC