add new chinese translations
This commit is contained in:
32
pages.zh/linux/busctl.md
Normal file
32
pages.zh/linux/busctl.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# busctl
|
||||
|
||||
> 观察和监控 D-Bus 总线。
|
||||
> 更多信息:<https://www.freedesktop.org/software/systemd/man/busctl.html>。
|
||||
|
||||
- 按服务名称显示总线上的所有对等体:
|
||||
|
||||
`busctl list`
|
||||
|
||||
- 显示总线服务、进程或总线所有者的进程信息和凭据(如果未指定参数):
|
||||
|
||||
`busctl status {{service|pid}}`
|
||||
|
||||
- 转储正在交换的消息。如果未指定服务,则显示总线上的所有消息:
|
||||
|
||||
`busctl monitor {{service1 service2 ...}}`
|
||||
|
||||
- 显示一个或多个服务的对象树(如果未指定服务,则显示所有服务):
|
||||
|
||||
`busctl tree {{service1 service2 ...}}`
|
||||
|
||||
- 显示指定服务上指定对象的接口、方法、属性和信号:
|
||||
|
||||
`busctl introspect {{service}} {{path/to/object}}`
|
||||
|
||||
- 检索一个或多个对象属性的当前值:
|
||||
|
||||
`busctl get-property {{service}} {{path/to/object}} {{interface_name}} {{property_name}}`
|
||||
|
||||
- 调用一个方法并显示响应:
|
||||
|
||||
`busctl call {{service}} {{path/to/object}} {{interface_name}} {{method_name}}`
|
Reference in New Issue
Block a user