- 与bundle相关的指令
- 查看当前安装的bundle列表,还支持llinux的管道过滤 bundle:list | grep move
- 启动bundle bundle:start
- 停止bundle bundle:stop
- 与日志相关的指令
- 查看日志,也可以像linux一样设置参数,显示n行,如:log:display -n 10 | grep DEBUG
- 设置日志级别 log:set [INFO | DEBUG...]
- 与feature相关的指令
- 查看feature列表,这里需要指出下官方文档的错误,指令应该是 feature:list 而不是 features:list
- 安装feature feature:install
- 卸载feature feature:uninstall
- 查看feature的详细信息 feature:info camel-core
更多的命令可以参考官网 http://karaf.apache.org/manual/latest/
关于命令的使用方法,请多使用 --help,因为官网也是鼓励我们尽量使用--help呢
We encourage the users to use the
--help
option to check the name and type of arguments and options.