-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Machines Show
One machine, with live facts. It opens the shared connection, then runs three
commands there: uname -srm, uptime and who | head -20.
ed machines show <machine> [--json]
| Name | Type / values | Default | What it does |
|---|---|---|---|
<machine> |
string, required | none | Machine name, ssh alias, id, or any unambiguous prefix of a name or alias, case-insensitively. |
| Name | Type / values | Default | What it does |
|---|---|---|---|
--json |
flag | off | Emit JSON on stdout instead of the indented block. |
--help, -h
|
flag | off | Print the help for this command on stdout and exit 0. |
$ ed machines show tuf
Asus TUF 7
target tuf · pulkit@192.168.1.12
auth SSH agent
system Linux 7.0.0-28-generic x86_64
uptime 22:19:53 up 9:11, 5 users, load average: 0.19, 0.16, 0.28
session pulkit on seat0 since 2026-08-08 13:08 (login screen)
session pulkit on tty2 since 2026-08-08 13:08 (tty2)
Four keys, always all four:
{
"machine": {
"auth": "SSH agent",
"connected": true,
"controlSocket": "/Users/pulkit/Library/Application Support/Edith/machines/sockets/4303DCF152.sk",
"createdAt": "2026-08-06T12:11:49Z",
"host": "192.168.1.12",
"id": "4303DCF1-52D8-4075-AE9B-C2FD86D3821A",
"name": "Asus TUF 7",
"port": 22,
"source": "sshConfigAlias",
"sshAlias": "tuf",
"sshTarget": "tuf",
"username": "pulkit",
"wakeMACAddress": "be:f0:86:8d:58:12"
},
"sessions": [
"pulkit on seat0 since 2026-08-08 13:08 (login screen)",
"pulkit on tty2 since 2026-08-08 13:08 (tty2)"
],
"uname": "Linux 7.0.0-28-generic x86_64",
"uptime": "22:18:08 up 9:10, 5 users, load average: 0.07, 0.13, 0.30"
}machine is the record described above. uname and uptime are the remote
command's stdout, trimmed, and sessions is who reformatted one entry per
line as <user> on <tty> since <the rest of the line>; a who line with fewer
than three fields is dropped rather than guessed at.
ed machines show tuf
ed machines tuf
ed tuf
ed machines show tuf --json | jq -r .uname
Nothing is written to the directory, but the command does open the shared connection when one is not already up, which leaves a socket behind for the next command.
Each of the three remote commands is best effort with its own timeout: 20
seconds for uname, 15 each for uptime and who. A command that fails or
times out contributes an empty string rather than failing the whole report,
which is why a machine with no who still prints its uname line.
An unknown or ambiguous name exits 3 before anything is dialled. A machine that cannot be reached exits 4 and says why, in ssh's words.
ed machines <machine> with nothing after it, and ed <machine> with nothing
after it, are both rewritten to this command. See
running commands on a machine.
-
ed machines, the rest of this group - All
edcommands
Auto-generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Companion
- Deploy
- Concepts
- Concepts Memory
- Concepts Ingestion
- Concepts Search
- Concepts Chat
- Concepts Learning
- Concepts Brain
- Concepts Friend
- Hosts
- Stack
- Status
- Doctor
- Search
- Index
- Ingest
- Episodes
- Sync
- Observations
- Reflect
- Beliefs
- Ask
- Extract
- Claims
- Corroborate
- Runs
- Chat
- Conversations
- Forget
- Export
- Import
- Erase
- Wipe
- Episode
- Nightly
- Reason
- Personas
- Council
- Lenses
- Core
- Why
- Hypotheses
- Predictions
- Commitments
- Discrepancies
- Calibration
- Inquire
- Entities
- Eval
- Standup
- Machines
- Baselines
- Connectors
- Facts
- Correct
- Weekly
- Db
Guides