ubus
TLDR
List available objects
$ ubus list
Get system information$ ubus call system board
Subscribe to events$ ubus subscribe [event_name]
Display help$ ubus
SYNOPSIS
ubus COMMAND [OPTIONS]
DESCRIPTION
ubus is the command-line interface for interacting with the OpenWrt ubusd message bus server. It allows communication between different system services and provides access to system information and configuration.
The ubus system enables IPC (inter-process communication) on OpenWrt routers and embedded systems, allowing scripts and applications to query and control system services.
COMMANDS
list
List available ubus objectscall OBJECT METHOD
Call a method on an objectsubscribe EVENT
Subscribe to event notificationssend EVENT
Send an event
CAVEATS
OpenWrt specific. Requires running ubusd daemon. Available methods depend on installed services. Output is typically JSON formatted.
HISTORY
ubus was developed as part of OpenWrt's system architecture to provide a unified IPC mechanism for the lightweight Linux distribution used on routers and embedded devices.


