Update documentation
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL / Analyze (push) Waiting to run

This commit is contained in:
Andrea Mazzoleni 2025-12-29 22:49:16 +01:00
parent 6af8894120
commit 45eb2efb60
3 changed files with 51 additions and 48 deletions

View file

@ -255,38 +255,39 @@ Scan Tags
The array needs a `sync` operation.
General Progress and Execution Tags
These tags are used to report the runtime processing of the commands.
These tags are used to report the runtime processing of the commands
`sync`, `scrub`, `check` and `fix`.
Only produced when `--gui` option is used.
=run:begin:<blockstart>:<blockend>:<countmax>
=run:begin:<blockbegin>:<blockend>:<count>
A tag indicating the start of the command execution.
<blockstart> - Starting block index (uint).
<blockbegin> - Starting block index (uint).
<blockend> - Ending block index + 1 (uint).
<countmax> - Number of blocks to process. It may be less
than <blockend> - <blockstart> + 1 if some blocks
<count> - Number of blocks to process. It may be less
than <blockend> - <blockbegin> + 1 if some blocks
are going to be skipped (uint).
=run:end
A zero-argument tag indicating the end of the command execution.
=run:pos:<blockpos>:<countpos>:<countsize>:<perc>:<eta>:<size_speed>:<cpu>:<elapsed>
=run:pos:<blockidx>:<blockdone>:<sizedone>:<perc>:<eta>:<speed_mbs>:<cpu>:<elapsed>
Detailed progress information during command execution.
<blockpos> - Current block index position (uint).
<countpos> - Current item count position (uint).
<countsize> - Current size processed (uint64).
<perc> - Percentage complete (uint).
<eta> - Estimated time of arrival in minutes (uint).
<size_speed> - Data processing speed in MiB/s (uint).
<blockidx> - Current block index position processed (uint).
<blockdone> - Number of blocks processed (uint).
<sizedone> - Current size processed (uint64).
<perc> - Completion percentage (uint).
<eta> - Estimated time to completion in seconds (uint).
<speed_mbs> - Data processing speed in MB/s (uint).
<cpu> - CPU usage percentage (uint).
<elapsed> - Elapsed time in seconds (uint64).
<elapsed> - Elapsed time in seconds (uint).
=sigint:<blockpos>:<msg>
=sigint:<blockidx>:<msg>
A user interruption (e.g., Ctrl+C) was signaled. The process
is gracefully aborting.
<blockpos> - Current block index position (uint).
<blockidx> - Current block index position (uint).
<msg> - Text message exactly as it's printed on screen.
=msg:<level>:<msg>