System Commands

Table of contents

  1. Status
  2. System log
  3. System time
  4. Discover
  5. Extensions
  6. Device health
  7. Firmware updates
  8. Reboot
  9. Filesystem

Status

lox status                   # firmware, PLC state, memory
lox status --diag            # CPU, tasks, interrupts, SD card health
lox status --net             # network config (IP, MAC, DNS1/2, DHCP, NTP)
lox status --bus             # CAN bus statistics (incl. parity errors)
lox status --lan             # LAN statistics (incl. exhaustion, no-buffer)
lox status --all             # all diagnostic sections
lox status --energy          # energy dashboard
Flag Description
--diag CPU, tasks, context switches, interrupts, SD card (read/write speed, errors, usage)
--net Network configuration (IP, MAC, DNS 1 & 2, DHCP, NTP)
--bus CAN bus statistics (packets, receive/frame/parity errors, overruns)
--lan LAN statistics (TX/RX packets, errors, collisions, underruns, exhaustion, no-buffers)
--all All diagnostic sections
--energy Energy meter dashboard

System log

lox log                      # last 50 lines
lox log -n 100               # last 100 lines

Requires admin user credentials.


System time

lox time                     # show Miniserver date and time

Discover

Find Miniservers on the local network via UDP broadcast:

lox discover
lox discover --timeout 5     # custom timeout in seconds

Extensions

lox extensions               # list connected extensions and devices

Shows Tree extensions, Air devices, and other connected hardware with serial numbers, versions, and parent relationships.


Device health

lox health                   # full device health dashboard
lox health --type tree       # filter: tree devices only
lox health --type air        # filter: air devices only
lox health --problems        # show only devices with issues
lox health -o json           # JSON output

Shows battery levels, signal strength, online/offline status, and bus errors for Tree and Air devices.


Firmware updates

lox update check             # check for available updates
lox update install --yes     # install update (requires --yes)

Reboot

lox reboot --yes             # reboot Miniserver (requires --yes)

The reboot and update install commands affect your live system. Always have a backup.


Filesystem

Browse and download files from the Miniserver:

lox files ls /               # list root directory
lox files ls /log            # list log directory
lox files get /log/def.log   # download a file
lox files get /log/def.log --save-as local.log