From 3a7613debc46e755c507c46008d3c9754db5fd40 Mon Sep 17 00:00:00 2001 From: Bobby Palmer <112954547+bobby-palmer@users.noreply.github.com> Date: Sun, 4 Jun 2023 01:34:17 -0400 Subject: [PATCH] busctl: add page (#10271) * busctl: add page --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/linux/busctl.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/linux/busctl.md diff --git a/pages/linux/busctl.md b/pages/linux/busctl.md new file mode 100644 index 000000000..194518d5a --- /dev/null +++ b/pages/linux/busctl.md @@ -0,0 +1,32 @@ +# busctl + +> Introspect and monitor the D-Bus bus. +> More information: . + +- Show all peers on the bus, by their service names: + +`busctl list` + +- Show process information and credentials of a bus service, a process, or the owner of the bus (if no parameter is specified): + +`busctl status {{service|pid}}` + +- Dump messages being exchanged. If no service is specified, show all messages on the bus: + +`busctl monitor {{service1 service2 ...}}` + +- Show an object tree of one or more services (or all services if no service is specified): + +`busctl tree {{service1 service2 ...}}` + +- Show interfaces, methods, properties and signals of the specified object on the specified service: + +`busctl introspect {{service}} {{path/to/object}}` + +- Retrieve the current value of one or more object properties: + +`busctl get-property {{service}} {{path/to/object}} {{interface_name}} {{property_name}}` + +- Invoke a method and show the response: + +`busctl call {{service}} {{path/to/object}} {{interface_name}} {{method_name}}`