openwrt之ubus命令行工具

来源:互联网 发布:哈密顿圈算法 编辑:程序博客网 时间:2024/06/05 10:09

root@OpenWrt:~# ubus


Usage: ubus [<options>] <command> [arguments...]
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  使用详细的输出


 -m <type>:             (for monitor): include a specific message type  包含一个指定的信息类型

                                 (can be used more than once)    可以被多次使用


 -M <r|t>               (for monitor): only capture received or transmitted traffic   只捕获一次收发的通信过程

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网络


今天先写到这       未完待续…………


0 0
原创粉丝点击