BUSCTL(1) busctl BUSCTL(1) (NAME) busctl - D-Bus (SYNOPSIS) busctl [OPTIONS...] [COMMAND] [NAME...] (DESCRIPTION) busctl D-Bus . (COMMANDS) : list (peers) . (unique) (well-known) --unique --acquired . . 209. status [SERVICE] ( ) ( PID ) ( ) . 209. monitor [SERVICE...] (dump ). SERVICE . . Ctrl+C --limit-messages= . 209. capture [SERVICE...] monitor pcapng ( PCAP (pcapng)[1] ). (pipe) . wireshark(1) . 218. tree [SERVICE...] (object tree) . SERVICE . . 218. introspect SERVICE OBJECT [INTERFACE] ( ) . . 218. call SERVICE OBJECT INTERFACE METHOD [SIGNATURE [ARGUMENT...]] . . (signature string) . . --quiet . 218. emit OBJECT INTERFACE SIGNAL [SIGNATURE [ARGUMENT...]] () . . . . --destination= . 242. wait [SERVICE] OBJECT INTERFACE SIGNAL . . --limit-messages= . --quiet . busctl . 257. get-property SERVICE OBJECT INTERFACE PROPERTY... . . . . --verbose . 218. set-property SERVICE OBJECT INTERFACE PROPERTY SIGNATURE ARGUMENT... . . 218. help . 209. (OPTIONS) : --address=ADDRESS ADDRESS ( --system --user ). 209. --show-machine . systemd-machined.service(8) . 209. --unique "" ( ":number.number") . 209. --acquired --unique -- "" . 209. --activatable . 209. --match=MATCH MATCH . sd_bus_add_match(3) . 209. --size= capture ("snaplen"). 4096 . 218. --list tree . 218. -q, --quiet call . . 218. --verbose call get-property . 218. --xml-interface introspect XML D-Bus org.freedesktop.DBus.Introspectable.Introspect . 243. --expect-reply=BOOL call busctl . "no" . --quiet . "yes" . 218. --auto-start=BOOL call emit . "yes" . 218. --allow-interactive-authorization=BOOL call . "yes" . 218. --timeout=SECS call . monitor v257 . . (ms us s min h d w month y). --expect-reply=no call . 0 "25s" call monitor . 218. --limit-messages=NUMBER, -N NUMBER monitor busctl . --match= D-Bus . "infinity" . wait busctl DBus . "infinity" busctl . . 257. --augment-creds=BOOL list status /proc/ . /proc/ . "yes" . 218. --watch-bind=BOOL AF_UNIX . . . 237. --destination=SERVICE . emit . 242. --user . --system . . -H, --host= . "@" . ssh ":" "/" . SSH . machinectl -H HOST . IPv6 . -M, --machine= . "@" . ".host" ( : "--user --machine=lennart@.host"). "@" . "@" ( ) ".host" . -C, --capsule= . . capsule@.service(5) . 256. -l, --full list . 245. --json=MODE JSON . : "short" ( ) "pretty" ( ) "off" ( JSON ). -j --json=pretty --json=short . --no-pager (pager) . --no-legend . -h, --help . --version . (PARAMETER AND RETURN TYPES) call set-property ( D-Bus D-Bus[2] ). . "true" "yes" "on" "1" "false" "no" "off" "0" . . (variants) . (structs) . s jawoll "jawoll" . as 3 hello world foobar "hello" "world" "foobar" . a{sv} 3 One s Eins Two u 2 Yes b true . "One" "Eins" . "Two" 2 . "Yes" . call get-property introspect . call get-property --verbose . (EXAMPLES) 1. . "/org/freedesktop/systemd1" "org.freedesktop.systemd1" . "LogLevel" "org.freedesktop.systemd1.Manager" . : # busctl set-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager LogLevel s debug # busctl get-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager LogLevel s "debug" 2. : $ busctl get-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager Environment as 2 "LANG=en_US.UTF-8" "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" $ busctl get-property --verbose org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager Environment ARRAY "s" { STRING "LANG=en_US.UTF-8"; STRING "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"; }; 3. "StartUnit" "org.freedesktop.systemd1.Manager" "/org/freedesktop/systemd1" "org.freedesktop.systemd1" "cups.service" "replace" . : # busctl call org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager StartUnit ss "cups.service" "replace" o "/org/freedesktop/systemd1/job/42684" (SEE ALSO) dbus-daemon(1), D-Bus[3], sd-bus(3), varlinkctl(1), systemd(1), machinectl(1), wireshark(1) (NOTES) 1. PCAP (pcapng) https://github.com/pcapng/pcapng 2. D-Bus https://dbus.freedesktop.org/doc/dbus-specification.html#type- system 3. D-Bus https://www.freedesktop.org/wiki/Software/dbus systemd 261.2 BUSCTL(1)