CLI Reference¶
The commands most people use, with their usual options. All commands lists every one, from the CLI's own help; nomad COMMAND --help has each one's options.
Core Commands¶
| Command | Description |
|---|---|
nomad init |
Setup wizard |
nomad collect |
Start data collection |
nomad collectors |
Which collectors run here, why, and how their runs went |
nomad dashboard |
The standalone dashboard on one database (the Console replaces it) |
nomad console launch |
Open the Console in your browser through an SSH tunnel (Console access) |
nomad console roles [NETID] |
Who may see what in the Console, as nomad.toml says; with NETID, what that person sees |
nomad console role NETID ROLE |
Make one person admin, operator or viewer in nomad.toml's [console.roles], or none (--apply writes it) (Configuration) |
nomad lab lead LAB NETID |
NETID leads LAB too: a co-PI, a lab manager (--remove: no longer; --apply writes it) (Configuration) |
nomad lab assistant LAB NETID |
NETID is a research assistant of LAB: sees it as its PI does while one of its members (--remove: no longer; --apply writes it) |
nomad demos ... |
Practice runs: small inputs, known to work, that show how a job runs (Practice runs) |
nomad lab check ... |
Each term, a lab's PI says who is still in it; research computing's to-do from the answers (Lab membership check) |
nomad lab accounts ... |
A lab's PI asks research computing for accounts; who each one is, from the campus directory; staff close each; each request numbered (REQ-0012 by default); report for a period, --csv one row per account (Account requests) |
nomad notices |
A weekly email to each person about their own use (login nodes, jobs asking far more than they use): mail [--send], set NETID on|off, timer; review first (Notices) |
nomad maintenance |
Declared maintenance windows: start SITE --until WHEN --reason WHY, end SITE (--apply does it); alerts about the site are held, the hub's and its own (Alerts) |
nomad demo |
Demo mode with synthetic data; --console DIR: a demo for the Console, with a cast to sign in as (Quick Start) |
nomad status |
System status |
nomad syscheck |
Verify requirements |
nomad config check |
Does nomad.toml read? If not, the line and what is wrong (Configuration) |
nomad sync |
On the hub: bring the combined database up to date from every site (Setup) |
nomad sync status |
On the hub: how each site's last syncs went (reads only) |
nomad sync timer |
On the hub: set its sync timer to [hub] sync_interval_minutes (--apply, as root) (Setup) |
nomad gate jump-key |
On a host the hub reaches a cluster through: let the hub's gate key forward to that cluster's ssh, and nothing else (Submit) |
nomad db status [--tables] [--sites] / nomad db tidy [--apply] / nomad db vacuum [--full] [--apply] / nomad db keep [--apply] |
nomad's own databases: size and growth, old copies removed only when the live database holds them, free space given back, older readings rolled up by the keep rules (nomad's own databases) |
nomad files status / nomad files open MODE [LAB...] |
On the hub: who the Console's My files is open to, and setting it (open labs 'kim$' --active-days 365 --apply: staff and those labs' people seen at work lately) (My files) |
Educational Analytics¶
| Command | Description |
|---|---|
nomad edu me |
Your own jobs: score, trend and what to change |
nomad edu explain <job_id> |
Analyze job with recommendations |
nomad edu trajectory <user> |
User proficiency over time |
nomad edu report <group> |
Group/course report |
Options for all edu commands:
- --db PATH — Database path
- --json — JSON output
- --days N — Lookback period (trajectory/report)
Sizing and Submitting Jobs¶
Run by users on a cluster's login node (1.18; details):
| Command | Description |
|---|---|
nomad size job.sh |
What a script should ask for (CPUs, memory, time, GPUs, partition), each value with where it comes from and why |
nomad size --job N |
The same for a job of yours that ran, to run it again |
nomad submit job.sh |
Size it, show the sbatch command, ask, and submit it: nomad's values, or yours (--mem 12G, --keep) |
nomad submit --again N |
A job of yours that ran, sent again with what nomad learned from how it ended |
nomad submit --logs here job.sh |
Its Slurm output where Slurm puts it (default: a folder of its own, /scratch/USER/jobs/JOBID-NAME; also $NOMAD_LOGS) |
Read by admins (1.19; details):
| Command | What |
|---|---|
nomad watch list |
What the policy watch found on login and compute nodes (tunnels, miners, relays, exposed services), the most serious first, and ssh forwards verified to a server in trusted_hosts; --mask for sharing |
nomad watch status |
The last sweep: each host, whether it answered, what it could see |
nomad watch probe [HOST] |
Look now, here or on a node |
Analysis¶
| Command | Description |
|---|---|
nomad analyze -p PATH |
A filesystem's trend, and when it fills |
nomad facts me NETID |
One person's jobs, running and waiting, score and advice |
nomad similarity |
Network analysis |
nomad alerts |
View alerts |
ML & Prediction¶
| Command | Description |
|---|---|
nomad train |
Train prediction models |
nomad ml ... |
Train the model from the Console: requests on the hub, TESSERA on a worker with a GPU (Training the model) |
nomad predict |
Run predictions |
nomad report |
Generate ML report |
Community Dataset¶
| Command | Description |
|---|---|
nomad community export |
Export anonymized data |
nomad community preview |
Preview export |
nomad community verify |
Verify export integrity |
Data Collection¶
# Continuous collection
nomad collect
# Single cycle
nomad collect --once
# Specific collectors
nomad collect -C disk,slurm,groups
# Which collectors run here, why, and whether they collect anything
nomad collectors
# On the hub: how every site's collectors ran in the last 7 days
nomad collectors --db ~/.local/share/nomad/combined.db
# Each Slurm partition's limits, who may use it, and its preemption; what changed
nomad partitions [--site S] [--changes] [--json]
# Jobs from before nomad (or not collected): an sacct export, or sacct itself
nomad import sacct EXPORT [--apply]
nomad import sacct --from 2025-10-01 [--to 2026-10-01] [--apply]
See Collectors (and "Jobs from before nomad" there).
Usage Report¶
# The administrators' report for a period (Markdown and JSON)
nomad usage-report --from 2025-10-01 --to 2026-10-07 --cluster c1 [--out DIR]
# From an sacct export instead of nomad's job records
nomad usage-report --sacct EXPORT --from 2025-10-01 --to 2026-10-07 --cluster c1
# Draft the site settings (tiers, partitions) from nomad's node samples
nomad usage-report init --cluster c1
# The period's usernames, for a department/school map (--user-map)
nomad usage-report people --cluster c1 --out users.csv
# Idle condo capacity while jobs that would have fit waited elsewhere
nomad usage-report condos idle [--month 2026-09] [--json] [--mask]
Options: --config (report.toml), --db, --user-map, --exclude-users,
--teaching SITE, --format md|json|both, --min-cell N, --guard-details FILE, --allow WORD.
See Usage report.
Storage Use¶
# The script for a storage server's root cron, and its cron lines
nomad storage script > nomad-storage.sh
nomad storage cron /home /scratch --group GROUP --server fs1
# Measuring each top folder as its owner (sudo -n -u OWNER find), where sudo allows that
nomad storage cron /home --run-as owners --user NAME --dir /home/NAME/nomad-storage [--large GB]
# Who holds each path's space, the change over 30 days, what is old
nomad storage use [--server fs1] [--path /home] [--groups|--projects] [--days N] [--top N] [--mask]
# Who holds more than a size, as lines to paste (1T: 1 TiB; 1TB: 10^12 bytes)
nomad storage use --over 1T --list [--binary]
# What the storage_use collector read from each server, and when
nomad storage status
# Data unchanged for a year, and the cases about it (on the hub, as the nomad account)
sudo -u nomad nomad storage cold [--server fs1] [--json | --csv]
sudo -u nomad nomad storage cold open jdoe fs1:/home --note "emailed"
sudo -u nomad nomad storage cold case REQ-0013 contacted --note "moving it to the archive"
sudo -u nomad nomad storage cold digest [--send] # the weekly email; `timer` sends it weekly
sudo -u nomad nomad storage cold letter jdoe --as rc1 [--send] # the email to them about it (1.57.0)
See Storage use.
Actions¶
# The catalog of commands the Console may start, on the hub or a site
nomad actions list [--json]
nomad actions run NAME [--site SITE | --here] [-p NAME=VALUE ...] [--json]
# The hub's key for reaching sites, and on each site, letting it run the agent only
nomad actions key
nomad agent install-key 'ssh-ed25519 AAAA... nomad-actions@hub' [--from PATTERN] [--apply]
# On a cluster: drain a node, or resume it (a dry run unless --apply; [actions] slurm_as)
nomad node drain NODE --reason TEXT [--by NETID] [--apply] [--json]
nomad node resume NODE [--reason TEXT] [--by NETID] [--apply] [--json]
# On an interactive server: its RStudio and Jupyter sessions, and the two services
# (each a dry run unless --apply; [actions] interactive = true)
nomad interactive sessions [--json]
nomad interactive stop PERSON PID [--started TIME] [--by NETID] [--apply] [--json]
nomad interactive clear [--hours N] [--kind all|rstudio|jupyter] [--by NETID] [--apply] [--json]
nomad interactive restart rstudio|jupyter [--servers N] [--by NETID] [--apply] [--json]
See Actions.
Machines¶
What each machine is, shown beside its name (details).
nomad machine note labhead1 "the Smith lab's head node" # shows the change
nomad machine note labhead1 "the Smith lab's head node" --apply
nomad machine note labhead1 # what nomad.toml says of it
nomad machine note labhead1 --remove --apply
nomad machine list # every machine described
Facts¶
What the Console's /api/v1 answers, on the command line (details).
nomad facts sites # every site now, and its jobs (last 30 days)
nomad facts me NETID # one person's work
nomad facts lab NETID # the labs NETID leads, taken together
nomad facts lab NETID --each # each member too, and what needs attention
nomad facts share NETID # those labs' share of each cluster, and who waited
nomad facts node SITE NODE # one node over a window: readings and what happened
nomad facts sites --json # the data itself
nomad facts me NETID --mask # without the NetID, for sharing
Global Options¶
Given before the command (nomad -c FILE sync):
| Option | Description |
|---|---|
-c, --config PATH |
The nomad.toml to read (default: ~/.config/nomad/nomad.toml, else /etc/nomad/nomad.toml) |
-v, --verbose |
Debug logging |
--version |
nomad's version |
--help |
Show help |
Most commands that read a database also take --db PATH, after the command.
Insight Engine¶
| Command | Description |
|---|---|
nomad insights brief |
Executive summary |
nomad insights detail |
Comprehensive report |
nomad insights json |
Machine-readable output |
nomad insights slack |
Slack-formatted message |
nomad insights digest |
Periodic digest |
Options: --hours N (lookback window), --db PATH, --cluster NAME
System Dynamics¶
| Command | Description |
|---|---|
nomad dyn summary |
Full dynamics narrative |
nomad dyn diversity |
Simpson/Shannon diversity indices |
nomad dyn niche |
Pianka niche overlap matrix |
nomad dyn capacity |
Multi-dimensional carrying capacity |
nomad dyn resilience |
Disturbance detection and recovery time |
nomad dyn externality |
Cross-group impact scoring |
Options: --hours N, --db PATH, --by {user,group,partition}, --json
Cloud Monitoring¶
| Command | Description |
|---|---|
nomad cloud collect |
Run the cloud collectors once |
nomad cloud instances |
The cloud instances found |
nomad cloud status |
Whether the collectors connect and authenticate |
nomad diag cloud INSTANCE |
One instance's cost and performance |
nomad edu cloud |
How well cloud resources are used, with advice |
Reference¶
| Command | Description |
|---|---|
nomad ref |
Browse all topics |
nomad ref <topic> |
Look up a specific topic |
nomad ref search <query> |
Full-text search |
Topics cover all commands, configuration, concepts, and mathematical foundations.
Issue Reporting¶
| Command | Description |
|---|---|
nomad issue report |
Interactive bug/feature/question form |
nomad issue search <keywords> |
Search existing GitHub issues |
nomad issue info |
Preview auto-collected system info |
Options for report:
-c, --category {bug,feature,question}— Issue category-m, --component {collectors,alerts,dashboard,...}— Affected component-t, --title TEXT— Issue title--email— Send via email instead of GitHub--json— Output formatted issue as JSON--no-duplicate-check— Skip duplicate search--db PATH— Database path for system info
When a GitHub token is configured in nomad.toml under [issue_reporting], issues
are submitted directly via the GitHub API with auto-labeling. Without a token,
opens a pre-filled GitHub issue form in the browser.
nomad diag gpu¶
GPU diagnostic report: utilization summary, workload distribution, temperature status, and hardware health.
nomad diag gpu # All nodes, last 24h
nomad diag gpu --node node51 # Specific node
nomad diag gpu --hours 48 # Extended window
nomad diag gpu --health # Hardware health only (PCIe, ECC, row remap)
Options:
| Option | Description |
|---|---|
--node TEXT |
Limit to a specific node |
--hours INT |
History window in hours (default: 24) |
--health |
Show hardware health report only |
--db PATH |
Database path override |
nomad insights gpu¶
Narrative summary of GPU usage patterns and health concerns. Highlights workload classification, the utilization gap between nvidia-smi and Real Util, and any DCGM health alerts.
Options:
| Option | Description |
|---|---|
--node TEXT |
Limit to a specific node |
--hours INT |
History window in hours (default: 6) |
--db PATH |
Database path override |