Karaf Console Common Linux commands (2)

Source: Internet
Author: User

One to view a list of Onos-style annotation instances

-bash code

Scr:list

Active represents an instance has been generated andregistered represents an instance not injected into the build

A , view the component list, view component information, and view the services provided by the component

-bash code

Component:list

Component:show * * *

Component:service * * *

The restart,stop,start of the component should be the same as the bundle Restart,stop,start.

- , asynchronous Communication Service list

-bash code

Async:service-list

Can see the component name, service name, publish status, publish path, subscription path;

the , view UI, North service status

-bash code

Http:list

Web:list

- to view the current status of the log level

-bash code

Log:list

The root path log is usually warn by default;

- , log-level adjustment

-bash code

Log:set Info

Log verbosity: Debug>info>warn>error>fetal

- , log real-time tracking

-bash code

Log:tail-p "%m%n" Nginx

+ to view the package export

-bash code

Package:exports |grep * * *

- , search for threads and view thread call stacks

-bash code

Threads--list |grep Config-pu

Threads tid

Karaf Console Common Linux commands (2)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.