UniFi - UXG Command-line guide

Learn how to get the most out of your UXG with some SSH commands

Alex Lowe

Last updated: October 9, 2026

Pretty much all networking devices have a command-line interface that you can use. Typically, these have way more features than the GUI would ever have.

If you want fast and reliable UniFi hosting, check out HostiFi with expert support, regular backups, managed updates and prices from $19 per month.

To learn more about our hosting plans, create an account or book a free demo to get started.

How to SSH into the UXG Pro

We have a dedicated guide on the support centre to show you how to log into the UXG Pro using SSH. You can find that here.

Commands

Check the CPU Temperature

To check the CPU temperature enter in the following:

ubnt-systool cputemp

It'll then display a readout:

34

This temperature is in celsius, but this is something that isn't obtainable from the UniFi GUI.

Device Uptime

To check the device uptime, enter in the following:

uptime

It'll then display a readout:

12:50:01 up 7 days, 33 min,  1 user,  load average: 1.01, 0.42, 0.34

It shows the current time, device uptime and how many users are on the network. As well as the load average stats.

Sensor Information

To check the device sensors, enter in the following:

sensors

It'll then display a readout:

adt7475-i2c-4-2e
Adapter: i2c-0-mux (chan_id 3)
in1:         891.00 mV (min =  +0.00 V, max =  +2.99 V)
+3.3V:         3.26 V  (min =  +2.96 V, max =  +3.63 V)
fan1:           0 RPM  (min =    0 RPM)
fan2:        1186 RPM  (min =    0 RPM)
fan3:        1186 RPM  (min =    0 RPM)
fan4:        1186 RPM  (min =    0 RPM)
temp1:        +34.8°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
Board Temp:   +33.2°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
temp3:        +29.2°C  (low  = -63.0°C, high = +191.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)

It shows detailed information about the fan speed, voltages, temperatures from the system as well as the low and critical thresholds.

Ubiquiti Discovery

To run a local Ubiquiti discovery, enter in the following:

ubnt-tools ubnt-discover

The UXG Pro will then find any devices that are pending adoption or non-UniFi devices, such as the NanoStation this UXG has found:

Hardware Address  IP address            Name
18:E8:29:XX:XX:XX 172.18.38.170   NS-5AC 'NanoStation 5AC' 
Total: 1 devices.

Manual Firmware Update

Sometimes a new firmware update for the UXG Pro can only be completed via the SSH interface, to do this enter in the following:

ubnt-systool fwupdate [URL]

In the [URL] section, enter in the URL supplied by Ubiquiti for the UXG Pro. The device will download the firmware and then reboot.

About HostiFi

HostiFi provides hosting for Ubiquiti software platforms, with servers for UniFi and UISP. We also offer network consulting, with HostiFi Professional Services.

Get the Ubiquiti Top 20

Each month our team sifts through Ubiquiti news and content from around the web and delivers 20 of our favorite links to your inbox.

View recent issues

No spam. Unsubscribe anytime.

🤩

Discovered 3+ things that I did not know and will have a material impact on my business.

Newsletter Subscriber

🤩

All the info I want/need in a single clean thread! Perfect!

Newsletter Subscriber

🤩

Providing super valuable information to keep the community in the know. Awesome links page, Thank You.

Newsletter Subscriber