btdu ~next (2022-04-04T08:48:57.5021383)
Dub
Repo
program
btdu
main
Undocumented in source. Be warned that the author may not have intended to support it.
@`Sampling disk usage profiler for btrfs.`
void
program
(
Parameter
!(
string
, "Path to the root of the filesystem to analyze")
path
,
Option
!(
uint
, "Number of sampling subprocesses\n (default is number of logical CPUs for this system)", "N", 'j')
procs
= 0
,
Option
!(
Seed
, "Random seed used to choose samples")
seed
= 0
,
Switch
!
hiddenOption
subprocess
= false
,
Switch
!("Expert mode: collect and show additional metrics.\nUses more memory.")
expert
= false
,
Switch
!
hiddenOption
man
= false
,
Switch
!("Run without launching the result browser UI.")
headless
= false
,
Option
!(
ulong
, "Stop after collecting N samples.", "N", 'n')
maxSamples
= 0
,
Option
!(
string
, "Stop after running for this duration.", "DURATION")
maxTime
= null
,
Option
!(
string
, "Stop after achieving this resolution.", "SIZE")
minResolution
= null
,
Option
!(
string
, "On exit, export the collected results to the given file.", "PATH", 'o', "export")
exportPath
= null
,
Switch
!("Instead of analyzing a btrfs filesystem, read previously collected results saved with --export from PATH.", 'f', "import")
doImport
= false
)
Meta
Source
See Implementation
btdu
main
functions
checkBtrfs
program
usageFun
mixins
__anonymous
structs
SerializedState