Skip to content

Diagnostic commands ​

Curated commands for AtomOS operators. Linux generic tools apply on any well-administered host; AtomOS-specific entries come from atomos-cli as mapped in Install & CLI reference.

libvirt and hand edits

AtomOS owns guest lifecycle through its services and APIs. Avoid ad-hoc virsh define/edit or manual XML changes unless your runbook explicitly allows break-glass use — conflicting changes can desync Electros state from the host.

AtomOS-specific (atomos-cli) ​

Run authoritative help on the installed build:

bash
atomos-cli --help
CommandPurpose
sudo atomos-cli --statusAtomOS service status
sudo atomos-cli --logsInstallation / service logs (-rl alias in reference)
sudo atomos-cli --infoHost and AtomOS information
sudo atomos-cli --healthcheckResource health check
sudo atomos-cli --pci-listPCI devices and drivers (passthrough planning)
sudo atomos-cli --show-fingerprintTLS certificate fingerprint for Electros trust
sudo atomos-cli --fw-infoFirewallD configuration summary
sudo atomos-cli --verify-installPost-install verification
sudo atomos-cli --verify-networkDefault route / connectivity sanity (especially cloud)
sudo atomos-cli --journal SERVICE TIMEJournal slice for an AtomOS service
sudo atomos-cli --versionInstalled package versions

Service control examples:

bash
sudo atomos-cli --restart storage
sudo atomos-cli --restart compute
sudo atomos-cli -ra

Storage and vaults:

bash
sudo atomos-cli --vault-creator
sudo atomos-cli --vault-editor
sudo atomos-cli --volume-info

Network and trust:

bash
sudo atomos-cli --bridge-setup
sudo atomos-cli --generate-cert
sudo atomos-cli --get-certificate 10.0.0.11 compute

Linux generic — systemd and logs ​

CommandUse
systemctl status UNITUnit state
systemctl list-units --type=service --state=runningRunning services
journalctl -u UNIT -bBoot-scoped journal for a unit
journalctl -p err -bErrors since boot
dmesg -T | tailRecent kernel messages

Prefer atomos-cli --journal when documenting AtomOS service names to your support team.

Linux generic — networking ​

CommandUse
ip addr / ip link / ip routeAddresses, links, routing
nmcli device statusNetworkManager view
nmcli connection showConnection profiles (bridges, VLANs)
ss -tulpnListening sockets
curl -vkI https://127.0.0.1:7701/Local HTTPS probe (port from install reference; path may vary)

See Networking & certificates and VLANs.

Linux generic — storage ​

CommandUse
lsblk -fBlock devices and filesystems
df -h /mntVault mount space
mount | grep /mntActive vault mounts

Vault logic remains in AtomOS storage services — use atomos-cli for configuration changes.

Linux generic — virtualization inspection ​

CommandUse
sudo virsh list --allDomain list (read-only troubleshooting)
sudo virsh dominfo NAMEDomain metadata
lspci -nnkPCI IDs and drivers (compare with --pci-list)

Use read-only virsh where possible; lifecycle changes belong in Electros/GUI.

Storage API localhost (advanced) ​

Documented import endpoints bind to 127.0.0.1:27777 in Migration & import. Remote authentication and transport for port 27777 are not verified in this docs revision — treat off-host access as requires verification.

Example local probe (no body):

bash
curl -sS -o /dev/null -w '%{http_code}\n' http://127.0.0.1:27777/ || true

Interpret HTTP codes in context; a connection refusal indicates storage client not listening.

Suggested triage order ​

mermaid
flowchart TD
  A[Symptom] --> B[atomos-cli --status]
  B --> C[atomos-cli --healthcheck]
  C --> D[atomos-cli --logs / --journal]
  D --> E{Network?}
  E -->|yes| F[ip / nmcli / --verify-network]
  E -->|no| G{Storage?}
  G -->|yes| H[lsblk / df / --volume-info]
  G -->|no| I[virsh list / --pci-list]