Command line reference¶
runhealth [PATH ...] [-o OUTDIR] [-f html|md|pdf]
[--profile NAME[,NAME]] [--profile-dir DIR] [--list-profiles]
[--glob PATTERN] [--last N] [--since 7d] [--job-id ID[,ID]] [--list]
[--watch SECONDS] [--stall-seconds N] [--jobs N]
[--no-plots] [--no-cache] [--no-squeue] [--no-sacct] [--embed-logs]
[--output-dir DIR] [--output-glob [COMPONENT=]PATTERN] [--grid FILE]
[--sbatch OPTIONS] [--no-submit]
[--fail-on never|warn|fail] [--title TEXT] [--open] [--serve PORT]
[--publish DEST] [--publish-url URL]
Option |
|
|---|---|
|
files or directories, local or |
|
where the report is written (default |
|
|
|
file name pattern used when scanning directories |
|
keep the N most recent logs, or those newer than e.g. |
|
analyze only the logs of these SLURM jobs, recognized by the job id in the file name or, failing that, in the log |
|
pin profiles by name; add a directory of your own profiles |
|
show which files would be read, or which profiles exist |
|
re-render every N seconds |
|
override the silence threshold |
|
omit the figures |
|
parallel processes for parsing logs and reading output (default: one per core, capped) |
|
skip the parse cache; do not query SLURM ( |
|
do not read the SLURM accounting records of the jobs |
|
embed logs smaller than 8 MB as a page the figures can link into |
|
read the model output in |
|
which files in |
|
grid file whose |
|
extra |
|
read the output on this machine rather than in a SLURM job |
|
|
|
open the report when it is written |
|
serve the report on |
|
transfer the report to |
|
the address at which the published report is reachable, printed after the transfer |
Exit codes¶
Code |
Meaning |
|---|---|
|
the report was written, and no run reached the |
|
no report was written, for example because no log matched, or the server could not start |
|
invalid arguments |
|
the report was written, and at least one run is graded at or above the |
A workflow manager can thus distinguish a failed simulation (3) from a failure
of runhealth itself (1, 2). With --watch, the code reflects the last
report written before the interruption.
Environment variables¶
Variable |
Meaning |
|---|---|
|
additional directory of profiles, equivalent to |
|
default destination for |
|
default value for |
|
location in which |