busctl
TLDR
Show all peers on the bus
$ busctl list
Show process information for a service or PID$ busctl status [service|pid]
Monitor messages on the bus$ busctl monitor [service1] [service2] ...
Show object tree of services$ busctl tree [service1] [service2] ...
Introspect an object's interfaces$ busctl introspect [service] [path/to/object]
Get property value from an object$ busctl get-property [service] [path/to/object] [interface_name] [property_name]
Call a method on an object$ busctl call [service] [path/to/object] [interface_name] [method_name]
SYNOPSIS
busctl [command] [options] [arguments]
DESCRIPTION
busctl introspects and monitors the D-Bus message bus. D-Bus is an inter-process communication system used extensively in Linux for communication between system services and desktop applications.
The tool can list services, monitor message traffic, inspect object hierarchies, and invoke methods on D-Bus objects.
PARAMETERS
--system
Connect to system bus (default)--user
Connect to user session bus-j, --json
Output in JSON format--no-pager
Disable pager
SUBCOMMANDS
list
List all peers on the busstatus
Show process info for a servicemonitor
Watch message traffictree
Show object hierarchyintrospect
Examine object interfacesget-property
Read a property valueset-property
Set a property valuecall
Invoke a method


