BTDU(1)
π BTDU(1) β like, the whole manual, but make it make sense
okay bestie, grab a boba π§ because we're about to get into btdu, a sampling disk usage profiler for btrfs, and this page is from the General Commands Manual (yes, btdu(1), that's her full name, main character energy fr fr β¨).
πΈ NAME πΈ
btdu β a sampling disk usage profiler for btrfs. that's it, that's the vibe π¦
π SYNOPSIS π
btdu [OPTION]... PATH
like, literally just btdu, then however many options you want, then the path. slay.
π DESCRIPTION π
so btdu is a sampling disk usage profiler for btrfs. no cap, that is the entire one-liner and she ate π
but if you want the detailed description β the full lore, the deep dive, the whole story β the manual says please go read the full documentation, and it's right here:
https://github.com/CyberShadow/btdu#readme
(go read it, bestie, iykyk π«Ά)
β¨ OPTIONS β¨
here's where it gets good. every single flag, present and accounted for π
PATHβ the path to the root of the filesystem you want to analyze. that's your starting point, your home base, your main character location π-j,--procs=Nβ number of sampling subprocesses. how many little workers do you want vibing at once? (default is number of logical CPUs for this system β so it already knows what's up π§ )--seed=Nβ the random seed used to choose samples. deterministic queen π²-p,--physicalβ measure physical space instead of logical. yes, those are different, and yes, it matters π₯-x,--expertβ expert mode: collect and show additional metrics. she's giving data scientist π§ͺ
heads up: uses more memory. your RAM is gonna feel it π
-i,--interval=DURATIONβ set the UI refresh interval. specify0to refresh as fast as possible. blink and it's already redrawn π--headlessβ run without launching the result browser UI. no window, just vibes π-n,--max-samples=Nβ stop after collectingNsamples. boundaries! we love them π--max-time=DURATIONβ stop after running for this duration. a little timer, a little self-care β³--min-resolution=SIZEβ stop after achieving this resolution (e.g."1MB"or"1%"). good enough is good enough, periodt β¨-o,--export=PATHβ on exit, export the collected results to the given file. save your work, bestie πΎ-F,--export-format=FORMATβ the export format (guessed from the extension if you don't specify it). she's intuitive π§--export-seen-asβ when exporting, include'seenAs'data showing shared paths. the receipts, basically π--prefer=PATTERNβ prioritize allocating representative samples in the given path. give that path the spotlight β--ignore=PATTERNβ deprioritize allocating representative samples in the given path. not today, shawty π--duβ on exit, export represented size estimates in'du'format to standard output. classicduenergy, but make it btdu π-f,--importβ instead of analyzing a btrfs filesystem, read previously collected results saved with--exportfromPATH. throwback mode πΌ-c,--compare=PATHβ compare against a baseline from a previously exported file. glow-up check: what changed? π¦-A,--auto-mountβ auto-mount the top-level subvolume if needed. she'll handle it for you, don't even worry π«Ά
π BUGS π
found something cursed? please report defects and enhancement requests to the GitHub issue tracker:
https://github.com/CyberShadow/btdu/issues
they will see it, and they will appreciate it, ngl π
π AUTHORS π
btdu is written by Vladimir Panteleev <btdu@cy.md> and contributors:
https://github.com/CyberShadow/btdu/graphs/contributors
the whole squad, the whole team, the whole group chat π«Άβ¨
and that's the page, bestie π β it's btdu(1) from the General Commands Manual, and ngl there's no version or date stamped on this one, so just imagine me signing off with a little sparkle instead: stay sampling, stay slay π
ππΈ
π¦ where this page comes from
- nixos 26.05: btdu 0.7.2
- nixpkgs unstable: btdu 0.7.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms