Devices

Every host on your account at a glance, how busy each one is and what needs you, and the phones paired with this host.

Edit on GitHub

The Devices page shows every host on your account that runs Sikemux: this one and the hosts you’ve linked. For each one it shows whether your agents can still run there, and what is using up the machine.

Open it from the Devices button at the right of the top bar, which shows the chosen host at a glance and the hosts to switch to, then Open Devices. The gauge beside + on the side rail’s Hosts header opens it too, as do Devices in the account menu, Devices in the command palette or under New…, and ⌘⇧H (Ctrl+Shift+H on Linux). To open it on one host, pick Host details at the top of the ⋯ beside that host, or beside This host. Clicking a host’s row in the rail still switches the window to that host. This host, linked hosts and SSH hosts all wear the same laptop icon, and so does the row of an agent that runs on another host.

The hosts

The top of the page counts how many hosts are online and how many agents are running across them. Search by a host’s name or model, an agent’s name, or a device’s name. Add host finds another host to set up, the same as + in the rail’s Hosts group. Pair device shows the code a phone scans to join, as Your phone describes.

All shows every host and Needs you shows only those with an alert or out of reach. The hosts that need you come first.

Table, which the page opens in, shows one row per host. Cards shows each as a card, with the same things:

  • its maker’s logo, its name and its model
  • how it stands: an alert such as Memory 98% with how long it has lasted, Out of reach with how long since this Mac lost it, Updating while its core updates itself, or Healthy
  • CPU (cores in use out of all of them), memory and disk (used out of the total), each with a meter that turns amber or red near full. Memory counts as Activity Monitor does and disk as Finder does, so space macOS can free on its own counts as free
  • how many of its agents are running, idle or stopped, and how many the system stopped lately to free memory

A host set up only for SSH, without Sikemux, isn’t listed here. It stays in the rail.

Devices

Under the hosts, Devices lists each phone or browser paired with this host: its platform, when it was last seen, and whether it has Full access or can only Watch. Its ⋯ changes that, renames it on your account, or removes it from this host. Remote access beside the heading turns this host’s reach from your devices on or off.

Let in before lists the devices this host let in that have since left, and those a linked host let in, with who let each one in and when it joined or left. Remove takes one still on your account off it. The Sikemux app you are using isn’t listed.

A host’s detail

Click a host to see its detail over the hosts; ✕ or a second click closes it. Its header has Terminal for a new terminal there, + for a new chat in the project in front there, and ⋯ for the same menu its row has in the rail. Below come its cores, memory, disk and system.

Needs you

A host raises an alert when:

  • its memory runs short, as its system says, for a minute; it ends once memory has been fine for three minutes, and reads Memory short rather than a percentage
  • its disk is at 90% or more
  • its CPU stays at 90% or more for 10 minutes
  • a linked host stays out of reach for 2 minutes

When a linked host is out of reach, its card lists what Sikemux checked on the way to it, in order: remote access here, this computer online, your account, a path to the host (straight there or through a relay), its core answering, and the host letting this computer in. The first step that failed says why, the ones after it say they were not checked, and the card offers the fix it can make, such as Turn on remote access or Start Sikemux over SSH, with Copy diagnosis for the whole list. Once this computer is signed in, its own detail shows the same list when your devices cannot reach it.

When the host out of reach is where a project’s @Chief lives, the chief’s row in the tab rail says since when and offers Take over here, which opens the chief on this host from what its home last sent. On a computer that never received the project’s board, it names the computer that holds the latest copy instead, so you can take the chief over there. Work done on the old home while it was away is kept when it comes back. A host removed from your account hands its chiefs to another host that holds the project.

When a host’s last update failed or was undone, or its set-up over SSH stopped, a card says why, shows the last lines the tool printed, and offers Try again and Copy output.

Its alerts show here first, and also at the top of the notch’s list. Clicking either opens this page on that host. In the side rail, a host with a serious alert only turns its dot red. When an alert comes from an agent’s work, it names the agent using the most. If another host has room, it offers Move @Name to that host, which sends the agent’s project, with its chats, tabs and uncommitted changes, to the healthy host with the most memory free, in gigabytes, once you confirm. Moving a project between your hosts is part of Pro, free for now while Pro’s features come free. When other agents work in the same project, the button names the project instead, since they all go with it. With no host to move to, the alert only explains.

Resources

CPU, memory and disk over the last 15m, 1h or 24h, with a dashed line at 90%. Marks on the CPU chart show when an agent started a command. History builds up while the host’s core runs, so a host that just started shows only what it has now. When the host is out of reach, or its numbers stop coming, Resources and Top processes keep the last ones with as of and the time they arrived, and its alerts and Move wait until it is back. Below the disk chart is what takes the disk, such as build output and worktrees, once it has been measured.

Agents

Each agent on the host, busiest first, with its project, the command it runs now and for how long, and its share of the CPU and the memory it holds. Everything else adds up the rest of the host’s processes. Hover over an agent for ⋯, which moves its project to another host or closes it.

Top processes lists the busiest processes when you open it, by CPU or by memory. On a Mac each app counts with its helpers, under its own name and icon, and it covers only your own processes, since macOS hides other users’.

Activity and about

Activity lists what happened on the host lately: alerts starting and ending, commands agents started, and build output removed from agent worktrees with how much disk that freed, which also marks the disk chart. About shows its model, system, graphics card and Sikemux version.

What it costs

A host measures its agents’ processes only while this page is in front, every 3 seconds. Leaving the tab stops it. With the page closed, a host keeps only a light reading every 15 seconds.