|
|
@ -38,6 +38,7 @@ OPTIONS:
|
|
|
|
--threads <number> Limit the maximum number of tasks allowed to process concurrently (Set to 0 for unlimited.)
|
|
|
|
--threads <number> Limit the maximum number of tasks allowed to process concurrently (Set to 0 for unlimited.)
|
|
|
|
-M Set number of parallel running tasks to unlimited. (Same as `--threads 0`). (default).
|
|
|
|
-M Set number of parallel running tasks to unlimited. (Same as `--threads 0`). (default).
|
|
|
|
-m Limit number of parallel tasks to the number of active CPU processors.
|
|
|
|
-m Limit number of parallel tasks to the number of active CPU processors.
|
|
|
|
|
|
|
|
-q Quiet mode. Don't output info messages about successful `stat`ing.
|
|
|
|
--save <file> Dump the collected data to this file for further inspection (only available when compiled with feature `inspect`)
|
|
|
|
--save <file> Dump the collected data to this file for further inspection (only available when compiled with feature `inspect`)
|
|
|
|
-D Dump the collected data to `stdout` (see `--save`) (only available when compiled with feature `inspect`)
|
|
|
|
-D Dump the collected data to `stdout` (see `--save`) (only available when compiled with feature `inspect`)
|
|
|
|
- Stop parsing arguments, treat all the rest as paths.
|
|
|
|
- Stop parsing arguments, treat all the rest as paths.
|
|
|
@ -47,6 +48,8 @@ OPTIONS:
|
|
|
|
NOTES:
|
|
|
|
NOTES:
|
|
|
|
The first time a non-option argument is encountered, the program stops parsing arguments and assumes the rest of the arguments are paths.
|
|
|
|
The first time a non-option argument is encountered, the program stops parsing arguments and assumes the rest of the arguments are paths.
|
|
|
|
If parallelism is set to unlimited, there can be a huge syscall overhead. It is recommended to use `-m`.
|
|
|
|
If parallelism is set to unlimited, there can be a huge syscall overhead. It is recommended to use `-m`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Symlinks are ignored while collection stat data. They will fail with message 'Unknown file type'. Symlinks are generally very small in the actual data they contain themselves, so this is *usually* unimportant.
|
|
|
|
"#);
|
|
|
|
"#);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -100,6 +103,9 @@ fn parse<I: IntoIterator<Item=String>>(args: I) -> eyre::Result<Mode>
|
|
|
|
"-m" => {
|
|
|
|
"-m" => {
|
|
|
|
cfg.max_tasks = config::max_tasks_cpus();
|
|
|
|
cfg.max_tasks = config::max_tasks_cpus();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
"-q" => {
|
|
|
|
|
|
|
|
cfg.silent = true;
|
|
|
|
|
|
|
|
},
|
|
|
|
#[cfg(feature="inspect")] "-D" => {
|
|
|
|
#[cfg(feature="inspect")] "-D" => {
|
|
|
|
cfg.serialise_output = Some(None);
|
|
|
|
cfg.serialise_output = Some(None);
|
|
|
|
},
|
|
|
|
},
|
|
|
|