busctlsystemdA monkey with a typewriterZbigniewJędrzejewski-Szmekzbyszek@in.waw.plbusctl1busctlIntrospect the busbusctlOPTIONSCOMMANDNAMEDescriptionbusctl may be used to
introspect and monitor the D-Bus bus.OptionsThe following options are understood:Connect to the bus specified by
ADDRESS instead of using suitable
defaults for either the system or user bus (see
and
options).When showing the list of endpoints, show a
column containing the names of containers they belong to.
See
systemd-machined.service8.
When showing the list of endpoints, show
only "unique" names (of the form
:number.number).
The opposite of —
only "well-known" names will be shown.When showing the list of endpoints, show
only endpoints which have actually not been activated yet,
but may be started automatically if accessed.When showing messages being exchanged, show only the
subset matching MATCH.Do not print the legend,
i.e. the column headers and the
footer.When used with the capture command
specifies the maximum bus message size to capture
("snaplen"). Defaults to 4096 bytes.When used with the tree shows a
flat list of object paths instead of a tree.CommandsThe following commands are understood:listShow service names on the bus. This is the
default if no command is specified.treeNAMEShows an object tree of one or more
services. If NAME is specified,
show object tree of the specified services only. Otherwise,
show all object trees of all services on the bus that acquired
at least one well-known name.monitorNAMEDump messages being exchanged. If
NAME is specified, show messages
to or from this endpoint. Otherwise, show all messages on the
bus.captureNAMESimilar to monitor but
writes the output in pcap format (for details see the Libpcap
File Format description. Make sure to redirect the
output to STDOUT to a file. Tools like
wireshark1
may be used to dissect and view the generated
files.statusNAMEShow process information and credentials of a
bus service.helpShow command syntax help.See Alsodbus-daemon1,
D-Bus,
kdbus,
sd-bus3,
systemd1,
systemd-bus-proxyd8,
machinectl1,
wireshark1