Skip to content
Console

CLI: Host Machines

Inspect hosted machines, live metrics, earnings, payouts, maintenance windows, renter messages, and host management actions from the meshive CLI.

Host machine monitoring, earnings, maintenance, and management commands in the meshive CLI. See CLI Overview & Options for global flags and write confirmation rules.

Lists the machines you contribute to the network as a host. No workspace is needed — a host owns its machines directly. Alias: m.

Terminal window
meshive machines

Columns: NAME, ID, TYPE, STATUS, GPU (e.g. 8x NVIDIA H100), EARN/HR, UPTIME.

FlagDescription
--typegpu, cpu, or storage.
--statusFilter by status (repeatable or comma-separated), e.g. online,offline.
--nameSubstring match on the display name.
Terminal window
meshive machines --status online
meshive machines --type gpu
meshive machines --name node-a

Shows a single machine in detail.

Terminal window
meshive machine <id>

The argument is the machine ID (the ID column from meshive machines). Output includes name, id, type, status, gpu, earn/hr, uptime, and host tier, followed by three blocks (meshive 1.8 or later):

  • Clients — the pods and storage other users run on the machine, and unread messages.
  • Maintenance — its windows, with their status.
  • Diagnostics — the boot report, any network warnings and, in releases after 1.10, a disk line with any disk health alerts (for example nvme0n1 not responding or / 92% used).

Shows a machine’s live metrics: CPU cores, usage and the cores allocated to pods; RAM likewise; each GPU’s core and VRAM usage and temperature; root and PV disk usage; and network throughput.

Terminal window
meshive machine-metrics <id>

A machine that is not part of a cluster yet has no metrics and the command fails with an explanation.

Shows your host earnings: the current hourly rate, today’s total, the amount accumulated until the next payout, and a daily table (CPU / GPU / storage / total).

Terminal window
meshive earnings
meshive earnings --days 30 # more of the daily table (default 7; 0 = all)
meshive earnings --since 2026-08-01 --until 2026-08-31

-o name prints just the amount accumulated until payout.

These manage machines you host, so no workspace is needed. They need meshive 1.8 or later; reading works with a Read only key, changes need a Read & write key. A machine that isn’t yours is reported as not found.

Terminal window
meshive maintenance <machine> # maintenance windows, newest first
meshive machine-history <id> [--since D] [--until D] # downtime events
meshive machine-history <id> --stress-test # the latest stress test
meshive host-messages [--machine <id>] [--unread] # messages from renters, newest first
meshive payouts [--since D] [--until D] # payout history

host-messages shows text written by other people and doesn’t mark it read.

These commands change something on your machines. The ones in the first table below first print what will happen and ask [y/N]; --yes skips the question in scripts, and without it a non-interactive run exits with code 2 and changes nothing. machine-list, machine-retry and host-messages-mark-read don’t ask and take no --yes; they are in the second table.

CommandWhat it does
maintenance-schedule <machine> --reason R --start ISO --end ISO [--description D] [--emergency]Schedule a window. It first prints the notice you are giving and the workspaces that run on the machine. About 48 hours’ notice is needed unless it is an emergency window.
maintenance-update <id> [--reason R] [--description D] [--start ISO] [--end ISO]Change a window that has not started.
maintenance-end <id>, maintenance-cancel <id>End or cancel a window. A scheduled window starts by itself, within about a minute of its start time. Resources on the machine aren’t billed while it is open.
maintenance-extend <id> --hours H --reason RExtend an open window.
machine-unlist <id>Take the machine off the market.
machine-delete <id>Remove the machine. This can’t be undone. It prints what the machine holds and whether renters get a 48-hour grace period (when other users’ pods or storage volumes are on it), then asks you to type the machine ID unless you pass --yes.
host-message-send <machine> --to <workspace|all> --title T [--content C]Message one workspace that is using the machine, or all of them.
machine-credentials <id> --ssh|--ipmi|--grafanaPrint the machine’s login. It warns first: the account owner is emailed every time and the secret is printed to your terminal.
host-install [--storage]Print the command that installs the Meshive agent on a new compute (or, with --storage, storage) machine, valid for about 10 minutes. The account owner is emailed every time. Run it only on the machine you mean to add.

Without a question and without --yes:

CommandWhat it does
machine-list-for-rent <id>List the machine for rent. It is checked first, and a refusal prints the reason.
machine-retry <id> [--ports]Retry the machine’s setup step (if a step the machine’s agent runs is retried, it reboots the machine first), or with --ports its port check (about one retry per 30 seconds).
host-messages-mark-read <machine> <id>...Mark messages as read.

The old names machine-list and host-messages-read still work and print a note on stderr; they are removed in 2.0.

Terminal window
meshive maintenance-schedule a1b2c3 --reason "Network upgrade" \
--start 2026-11-10T02:00:00Z --end 2026-11-10T06:00:00Z
meshive machine-delete a1b2c3

Payout onboarding and the Stripe dashboard stay in the console under Earnings. Installing an agent does not by itself list the machine; the normal setup and listing checks still apply.