telnet Command Reference manual

Source: Internet
Author: User

Dubbo2.0.5 above version of service provides port support Telnet command,
Use such as:

telnet localhost 20880

Or:

echo Status | Nc-i 1 localhost 20880

The Telnet command can be extended, see: Extension reference manual 6th.
The resources checked by the status command can also be extended, see: Extension reference manual 5th.

Ls

(List services and methods)

Ls

Displays the list of services.

Ls-l

Displays a list of service details.

LS Xxxservice

Displays a list of methods for the service.

Ls-l Xxxservice

Displays a list of method details for the service.

Ps

(Print server ports and connections)

Ps

Displays a list of service ports.

Ps-l

Displays a list of service addresses.

PS 20880

Displays the connection information on the port.

Ps-l 20880

Displays the connection details on the port.

CD

(change default service)

CD Xxxservice

Changing the default service, the service parameters can be omitted when the default service is set and any command that needs to enter the service name as a parameter.

CD/

Cancels the default service.

Pwd

(Print working default service)

Pwd

Displays the current default service.

Trace

Trace Xxxservice

Trace 1 times the invocation of any method of the service.

Trace Xxxservice 10

Trace 10 times the invocation of any method of the service.

Trace Xxxservice Xxxmethod

Track the invocation of 1 service methods

Trace Xxxservice Xxxmethod 10

Tracks the invocation of a 10-time service method.

Count

Count Xxxservice

Statistics 1 times the invocation of any method of service.

Count Xxxservice 10

Statistics 10 times the invocation of any method of service.

Count Xxxservice Xxxmethod

Counts the invocation of the 1-time service method.

Count Xxxservice Xxxmethod 10

Counts the invocation of the 10-time service method.

Invoke

Invoke Xxxservice.xxxmethod ({"prop": "Value"})

The method that invokes the service.

Invoke Xxxmethod ({"prop": "Value"})

Method that invokes the service (automatically finds the service that contains this method).

Status

Status

Displays the summary status, which summarizes the status of all resources and displays OK when all OK is displayed, as long as there is an error that displays the error, as long as a warn displays warn.

Status-l

Displays a list of states.

Log

2.0.6 above version support

Log Debug
Modify the log level of the Dubbo logger

Log 100
View the last 100 characters of the file logger log

Help

Help

Displays the Telnet help information.

Help XXX

Displays detailed help information for the XXX command.

Clear

Clear

Clears the content on the screen.

Clear 100

Clears the contents of the specified number of lines on the screen.

Exit

Exit

Exits the current Telnet command line.

telnet Command Reference manual

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.