root@OpenWrt:~# ubus
Options:
-s <socket>: Set the unix domain socket to connect to 设置unix的套接字连接到
-t <timeout>: Set the timeout (in seconds) for a command to complete 设置命令完成的超时时间(秒)
-S: Use simplified output (for scripts) 使用简化的输出
-v: More verbose output 使用详细的输出
(can be used more than once) 可以被多次使用
Commands:
- list [<path>] List objects 列举项目、类型
- call <path> <method> [<message>] Call an object method 回调一个类的方法
- listen [<path>...] Listen for events 监听时间
- send <type> [<message>] Send an event 发送事件
- wait_for <object> [<object>...] Wait for multiple objects to appear on ubus 等待多个类出现在ubus上
- monitor Monitor ubus traffic 监控Ubus网络
今天先写到这 未完待续…………