swx-top¶
WHAT TO EXPECT
swx-top is a text-based UI that displays real-time statistics and configurations of a cloudSwXtch environment. This includes data regarding xNICs, swXtchBridges, streams, adaptors, clusters, high availability, licensing and more.
In this article, users will learn how to start swx-top, navigate its views, and read the data each view reports.
Running swx-top¶
READ THIS FIRST
swx-top signs in through OMNI before it draws anything. OMNI is the control center of a swXtch environment: it holds the user accounts and API keys, and it knows every cloudSwXtch enrolled in it — so what swx-top shows is the whole environment, whether that is one cloudSwXtch or several. The first time a machine connects to an OMNI, the dashboard does not appear: swx-top stops at a credential prompt. Running swx-top on its own asks for an API key (useful if you have the API key); to sign in with a username and password instead, add -u. See Signing in below.
On the cloudSwXtch VM, the first run is:
On any other VM (an xNIC, a swXtchBridge or a VM with swx-tools), add the cloudSwXtch: swx-top -u admin -s https://<cloudSwXtch-ctrl-IP>:9443.
swx-top prompts for that user’s password, and then the dashboard opens. The installer creates a single administrator account, admin, with the default password changeme; on an environment where that has not been changed yet, those are the credentials to use. From then on, against the same OMNI, the command is simply:
Choosing what to connect to¶
swx-top uses two addresses, and they do different jobs:
- -s, --swxtch — the cloudSwXtch whose details fill the Information panel. It defaults to the cloudSwXtch installed on this VM.
- -o, --omni — overrides the OMNI that signs the user in and supplies the environment. By default swx-top uses the OMNI that manages the cloudSwXtch given with
-s.
On the cloudSwXtch VM, neither is needed. From any other machine, give the cloudSwXtch:
NOTE
Changing -s does not change which components are listed. The views are drawn from the OMNI, so they show every cloudSwXtch it manages and every xNIC, swXtchBridge and VM attached to them. -s only selects which cloudSwXtch the Information panel reports on.
TRUSTING THE CLOUDSWXTCH
The first time swx-top reaches a cloudSwXtch it does not trust yet (from a machine that is not that cloudSwXtch), it shows the key the cloudSwXtch serves and asks Trust it? [y/N]. Compare it with swx-cli swxtch pin on the cloudSwXtch host and answer y, or pass the pin with -K sha256//<pin> (--pin) to trust it without a prompt. swx-top then saves the cloudSwXtch's trust bundle (OMNI's CA) in the profile, and verifies the cloudSwXtch and its OMNI by it from then on.
PLEASE NOTE
When connecting remotely, both ports must be reachable from the machine running swx-top: 8443, where OMNI performs the sign-in, and 9443 on the cloudSwXtch. Reaching 9443 is not enough on its own — if nothing answers on the OMNI’s 8443, swx-top stops at Authenticating…, or reports that the connection to the OMNI address was refused, and never loads. See cloudSwXtch System Requirements.
Signing in¶
Accounts and API keys belong to OMNI — they are the same credentials used to sign in to wXcked Eye, not accounts on the cloudSwXtch VM. OMNI validates them and issues the token swx-top then uses.
There are two ways to sign in, and which prompt appears depends only on whether -u was passed:
- Password login — pass
-u <username>. swx-top prompts Password for: . - API key — omit
-u. swx-top prompts API key: instead. API keys are created in wXcked Eye wXcked Eye/Manage API Keys, or withswx-cli auth create-key -u <username> -d <display-name> -r <reader|writer|admin>. Add-ato keep the key for the active profile, and-yto protect the stored key with a pass key.
DEFAULT CREDENTIALS
A new OMNI is installed with one administrator account: username admin, password changeme. Change it before the environment carries anything that matters — in wXcked Eye/Security/Manage Users , or with:
Changing the password does not disturb a swx-top profile that is already signed in, because the profile holds a token rather than the password. Use -i to sign in again with the new one.
Either way, swx-top only asks the first time. On a successful sign-in it saves the credential in a profile, and every later run using that profile starts straight into the dashboard. The saved credential outlives the login session, so there is no need to sign in again after an idle hour.
NOTE
Unless -p is used, the profile is filed under the -s address. Pointing swx-top at a different cloudSwXtch address therefore starts a new profile and asks for credentials again, even though the same OMNI account is being used. Give the profile a name with -p <name> to keep several side by side and to reuse one regardless of the address.
To sign in again as a different user, or to refresh a stored credential, force the prompt with -i. To sign out and clear the stored credentials, press CTRL + w inside swx-top, or start it with -x.
Command-line options¶
The full option list is available with:
The options most users need:
- -s, --swxtch — swXtch URL. Default: the cloudSwXtch on this VM.
- -o, --omni — OMNI server address (override). Default: the OMNI that manages the cloudSwXtch.
- -u, --user — username for password login. If omitted, swx-top prompts for an API key.
- -v, --view — the view to open on start: Components, Streams, StreamLinks, Adaptors, HA, Lossless, Aliases, Subscriptions, Notifications, Configurations or Licensing.
- -p, --profile — profile name under which connection settings are stored for reuse.
- -r, --refresh — refresh interval. Default: 3s.
- -e, --headless — run without drawing the UI.
- -d, --dump-screen — write the screen content to a file periodically.
- -m, --disable-mouse — turn off mouse interaction.
- -P, --default-pinning — apply the default pinning configuration when none is provided.
- -K, --pin — key pin (
sha256//...) the cloudSwXtch must serve; it is then trusted without a prompt. - -i, --login / -x, --logout — force the API key prompt, or clear the stored credentials and exit.
PLEASE NOTE
To copy part of the window to the clipboard, hold the SHIFT key while selecting the text. Depending on the terminal emulator, the selection is copied automatically.
Navigating the swx-top Dashboard¶

The swx-top dashboard is organized into three panels, as shown above. Panel 1 is the Information panel: it stays in place and reports on the cloudSwXtch itself, although it can be collapsed to a single line. Panels 2 and 3 change with the selected view. Not every view has a third panel, and some views split the screen into three.
Switching Between swx-top Views¶
Press CTRL + v to open the Views menu, then select a view with the mouse or press CTRL + the highlighted letter. For example, to switch to StreamLinks, press CTRL + v and then CTRL + k.

NOTE
Opening the menu first is not necessary. Pressing CTRL + the letter on its own switches straight to that view. If the console supports it, mouse interaction is supported throughout swx-top.
Pinning views to the bottom bar¶
The bottom bar is a shortcut strip for the views used most often. In the Views menu, a pinned view is marked with a pin icon and an unpinned view with a circle. Highlight a view and press CTRL + SPACE to pin or unpin it; pinned views appear on the bottom bar and can be selected there with a single click.
NOTE
Pinned views persist between swx-top sessions. Starting swx-top with -P applies the default pinning configuration when none is stored.
The Help page (F4)¶
Press F4 at any time to open the Help page, which lists every shortcut available in the current build. Press ESC to close it.

Keyboard shortcuts¶
- CTRL + v — open the Views list
- CTRL + o — Components view
- CTRL + s — Streams view
- CTRL + k — StreamLinks view
- CTRL + d — Adaptors view
- CTRL + a — HA view
- CTRL + l — Lossless view
- CTRL + e — Aliases view
- CTRL + u — Subscriptions view
- CTRL + n — Notifications view
- CTRL + f — Configurations view
- CTRL + g — Licensing view
- CTRL + r — open the color Setup page
- CTRL + x — toggle the custom filter
- CTRL + SPACE — pin a menu option to the bottom bar
- CTRL + q — exit swx-top (keeps the stored credentials)
- CTRL + w — clear the stored credentials and exit
- F2 — expand or collapse the Information panel
- F3 — open the column configuration for the selected panel
- F4 — open the Help page
- a — in the HA table, sum the summary over active streams only
- ESC — close the current window
Customizing views (F3)¶
Users can choose which columns a panel shows and how wide each one is.
NOTE
These changes persist between swx-top sessions.
To do this:
- Select the [+] next to the first column of a panel. This opens the COLUMNS dialog for that panel.
- Alternatively, click a panel to select it and press F3. The selected panel is the one with the thicker border.
- In the Vis column, click a checkbox to show or hide that column. An X marks the columns currently displayed.
- In the Width column, set how many characters wide each column should be.
- Select OK to apply, or Cancel to discard.

Changing swx-top Colors (CTRL+r)¶
swx-top ships with pre-made color schemes, and a Custom scheme in which every color can be set by hex code.
To do this:
- Select Colors at the bottom right of swx-top, or press CTRL + r.
- Select Custom from the Scheme dropdown.
- Enter the desired hex codes. The configurable elements are Header/Label, Row Text (odd), Row Text (even), Primary Text, Screen Background, Buttons/Fields Background, Border/Title, Status OK, Status Warning and Status Fail.
- Select Confirm to apply the scheme, or Cancel to discard it.

Panel 1: Information¶

The Information panel reports on the cloudSwXtch, the signed-in user, the licensing plan and the cloud the cloudSwXtch is running in. Each cloud provider uses slightly different names for some of these items, but the information is broadly the same.
On the left side of the panel:
- cloudSwXtch name, followed by the running version and the license plan in parentheses (in this example, ip-10-0-1-70 and dev.62b710 (Test license))
- User — the account swx-top is signed in as
- Status (in this example, OK)
- Cloud — Azure, AWS, GCP or OCI (in this example, AWS)
- SubscriptionID (Azure), Account Id (AWS) or ID (GCP)
- ResourceGroupName (Azure) or Region (AWS and GCP) (in this example, us-east-2)
- swXtch Id (in this example, i-08bc2ebe6f60c7ae9)
- Licensing — how the cloudSwXtch is licensed (in this example, License File)
On the right side of the panel:
- Bandwidth (actual/max allowed)
- xNICs (actual/max allowed)
- Bridges (actual/max allowed)
-
License expiration¶
The Information panel collapses and expands with the (+) and (-) controls in its title bar, or with the F2 key. Collapsed, it shows only the cloudSwXtch name, the signed-in user, the status, and a warning when there are new notifications.

Panels 2 and 3: Views¶
Panels 2 and 3 default to the Components view. The content changes with the selected view; some views use a single panel, others split the screen into two or three.
Filter Bar¶
Views that list rows directly — Components, Streams, Lossless, Aliases, Notifications, Configurations and Licensing — carry a Filter field at the top of the panel. Type the text to filter by, followed by an asterisk (*), and press ENTER. For example, 1-70* shows only the rows containing "1-70".

Select the X next to the Filter field to clear it and show all rows again. Press CTRL + x to toggle the custom filter.
NOTE
In a view with a Filter field, the Filter has the keyboard focus when the view opens, so the arrow keys type into it rather than moving through the table. Press TAB, or click a row, to move the focus to the table before navigating with the arrow keys.
Paging and sorting¶
The tree views — StreamLinks, Adaptors, HA, Subscriptions and Subscribers — are paged rather than filtered. Their footer carries an Items per page setting, < Prev and Next > controls, a Showing x-y of z counter, and a Filter button. Column headings marked with the sort arrows can be selected to sort the table by that column.
To expand a node in a tree view, select the (+) in front of it, or highlight the row with the arrow keys and press ENTER.
Components (CTRL+o)¶

The Components view lists every component in the environment — every cloudSwXtch the OMNI manages, and every xNIC, swXtchBridge and VM attached to them. To switch between components, use the up and down arrow keys, or click a row.
This view includes the following default columns:
- Name — the name of the component
- Class — cloudSwXtch, xNIC, bridge, or VM (non-xNIC)
- Type — X1 or X2 for a cloudSwXtch; 1, 2 or 3 for an xNIC; 1, 2 or 3 for a swXtchBridge
- Rx (bps) — the total ingress bits per second the component is receiving
- Rx (pps) — the total ingress packets per second the component is receiving
- Tx (bps) — the total egress bits per second the component is transmitting
- Tx (pps) — the total egress packets per second the component is transmitting
- Primary IP — the primary (ctrl) interface IP address
- OS — operating system, if reported
- Version — the version of the component
- Primary Swxtch — the cloudSwXtch the xNIC or swXtchBridge was installed against
NOTE
Any component whose version does not match the cloudSwXtch is displayed in red.
More columns can be added with the F3 key, as described in Customizing views.
The Interfaces panel¶
The third panel lists the interfaces of the component selected in the Components view. Its default columns are Name, Index, Ip, SubnetPrefix, Public Ip, MTU, Driver, PMD and PciAddress. MAC, BroadcastIp and MasterOf can be added with F3.
PMD reports the poll mode driver in use on that interface — for example, hardware on a data interface bound to the accelerated data plane, and -- on an interface that is not.
Filtering Out Components¶
Next to the Filter field, the Class button opens a selector that limits the view to particular kinds of component. Several classes can be selected at once.

Streams (CTRL+s)¶

This tree view shows every multicast group moving through the environment, and how each one reaches its endpoints. Expanding a group shows the producing component, and expanding that shows the components it reaches.
This view includes the following columns:
- Streams — the stream IP and port. This can also be an Alias set in wXcked Eye.
- Component — swXtch, xNIC or VM (a virtual machine without an xNIC)
- Protocol — the transport carrying the stream, for example xMC for swXtch multicast
- Rx Pkts (pps) — the ingress packets per second received by the component
- Rx Bits (bps) — the ingress bits per second received by the component
- Tx Pkts (pps) — the egress packets per second transmitted by the component
- Tx Bits (bps) — the egress bits per second transmitted by the component
- HA Lock — the high availability lock state for the stream, or -- when high availability is not in use
- HA Policy — the high availability policy applied to the stream, or -- when none is applied
In the example above, stream 239.5.5.5:10000 is transmitted by the endpoint fs-ha-prod at 8K pps. It is carried by two cloudSwXtches, fs-cs2 and ip-10-0-1-70, at 4K pps each, and both deliver it to the endpoint fs-ha-cons. That is high availability: the stream travels two independent paths and is reconstructed at the consumer, which is why the consumer rows show an HA Lock of SWXTCH and an HA Policy of auto. Users can learn more in the High Availability section.
Stream Links (CTRL+k)¶

The StreamLinks view lists every component in the environment and the streams it is linked to. Expand a component to see its links.
The default columns are:
- Component — cloudSwXtch, bridge or endpoint (xNIC)
- Group — the multicast group and port carried on the link
- Adjacent Component — the component at the other end of the link, with its class
- Interface — the interface the link uses, when reported
- Direction — ingress or egress, depending on whether the component is receiving or transmitting
- Protocol — the protocol used on the link
- Bits (bps) — bits per second
- Pkts (pps) — packets per second
- Missing Pkts — packets that did not reach their destination
- OOO Pkts — out-of-order packets
- Total Bytes — bytes carried on the link since the stream started
- Total Packets — packets carried on the link since the stream started
Adaptors (CTRL+d)¶

The Adaptors view reports on Protocol Conversion and Fanout. Adaptors are grouped by the component that hosts them, with the number of adaptors shown next to each component.
The default columns are:
- Component — the component the adaptor is configured on
- Protocol — UDP, SRT Caller/Listener or RIST Caller/Listener
- Direction — ingress or egress
- Active — whether the adaptor is currently active
- Connected — whether the adaptor has an established connection
- Stream — the stream IP or stream name
- Node — the node the adaptor runs on
Adaptors are added and deleted in wXcked Eye. For more information, see the wXcked Eye Adaptors (Protocol Fanout) section.
HA - High Availability (CTRL+a)¶

The HA view shows high availability from the perspective of the consumer. It reports data only when high availability has been configured.
The view is organized into three panels:
- HA — the components consuming or producing high availability paths. Expanding a consumer shows, first, a Summary row per path and one for the reconstructed path, and then the same three rows for each stream the consumer receives. In the example above, the consumer fs-ha-cons receives two streams over a red and a blue path; each stream shows 239.5.5.5:10000 - RedPath, - BluePath and - Reconstructed Path.
- Cluster — the high availability arrays and the cloudSwXtch behind each path (Name, swXtch/es). Expanding the array lists its paths, each with the control address of its cloudSwXtch and the color assigned to it.
- MMC Config — the Multi-Multicast configuration (Stream, Override SrcIp, Path, Policy).
The statistics in the HA panel are:
- Stream/Path — the stream and the path within it
- Lock — what decides which path the reconstructed stream follows. SWXTCH means the cloudSwXtch decides.
- Policy — the high availability policy applied to the stream, for example auto
- Path Ingress (pps) — the ingress packets per second received on the path for the multicast group
- Path Ingress (bps) — the ingress bits per second received on the path for the multicast group
- Path Usage (%) — the percentage of the highly available multicast group served by this path
- Missing Packets — the total number of missing packets on the path since the stream started. The counter stops when the stream or the cloudSwXtch stops, but does not reset.
- Enqueue Failures — packets that could not be queued for reconstruction
- Missing Packets Rate (pps) — missing packets per second on the path
- Ingress Bytes, Ingress Packets, Egress Bytes, Egress Packets — cumulative totals for the path
- Late — packets that arrived on the path after the reconstructed stream had moved on
- Never — packets that never arrived on the path
- Max Δ (win/ever) — the largest gap seen between the paths, within the current window and since the stream started
NOTE
The HA table is wider than most terminals. Widen the window, or hide columns with F3, to bring the right-hand counters into view.
NOTE
Press a in the HA view to sum the summary over active streams only.
Lossless (CTRL+l)¶

The Lossless view shows statistics for data flowing over swXtch Lossless Protocol (SLP). It is organized into two panels, SLP Rx and SLP Tx, each showing the traffic in that direction between the swXtchBridge and the cloudSwXtch.
The default columns are:
- Components — the two ends of the SLP connection
- RTT — round-trip time in nanoseconds. One-way latency can be estimated by halving this value.
- RTT Var — the variance of the RTT measurement. A high variance indicates an unstable connection.
- Data Pkts — the total number of packets received, original and retransmitted
- Retr Pkts — the number of packets received as a retransmission
- Pkts Lost (SLP Rx only) — packets the connection could not recover
NOTE
The column setup offers further SLP statistics, but these are used mainly for troubleshooting by swXtch.io. We recommend monitoring an SLP connection with the default columns above.
Aliases (CTRL+e)¶

The Aliases view lists the user-assigned names for components and streams. It is split into Component Aliases and Stream Aliases.
Component Aliases shows:
Stream Aliases shows:
Subscriptions (CTRL+u)¶

The Subscriptions view reports which groups each component has joined and who is receiving them. It is split into two panels.
The Subscriptions panel lists the joins made by each component:
- Component — the component holding the subscription
- Interface — the interface the group was joined on
- Group — the multicast group
- Filter — the single-source multicast (SSM) filter mode, include or exclude
- Sources — the source addresses the filter applies to
- Broadcast — whether the entry is a broadcast subscription
The Subscribers panel lists the receivers the cloudSwXtch is delivering each group to:
- Component, Group, Subscriber and Class
- Group IP:PORT and Target IP:PORT
- Target Subnet and Listener Port
- Protocol, Broadcast, Filter and Sources
Notifications (CTRL+n)¶

The Notifications view compiles the notifications raised across the environment. Its columns are Id, Time, Hostname, Class, Subsystem, Type and Description. Next to the Filter field, the Type button limits the list to particular notification types.
A NEW NOTIFICATIONS alert appears in the Information panel — in both the expanded and the collapsed view — while notifications are unread. Opening the Notifications view clears the alert.
Configurations (CTRL+f)¶

The Configurations view presents the xNICs' configuration JSON files as an expandable tree of Components and Value pairs. Expand a component to read its configuration.
Licensing (CTRL+g)¶

The Licensing view breaks down the entitlements allotted to each cloudSwXtch in the environment. The upper panel lists each cloudSwXtch by Component, Class, Type and Entitlements; expanding a component shows its entitlements, which depend on the license — Max bandwidth, Max clients and Max bridges.
The Details panel reports the license of the selected cloudSwXtch as key and value pairs, including Created At, Expires At, Licensing Type and Plan Name.