mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 15:33:59 +00:00
enhance translation
This commit is contained in:
1 parent
a42b2ac8ff
commit
924b3c9f2f
1 file changed
+9
-7
@@ -1,12 +1,10 @@
|
|||||||
sm
|
sm
|
||||||
==
|
==
|
||||||
|
|
||||||
Check the method profile of the loaded classes;
|
> Search method from the loaded classes.
|
||||||
|
|
||||||
Abbreviated from *Search-Method*, with which you can check all methods profiles of the loaded classes.
|
`sm` stands for search method. This command can search and show method information from all loaded classes. `sm` can only view the methods declared on the target class, that is, methods from its parent classes are invisible.
|
||||||
|
|
||||||
F.Y.I
|
|
||||||
`sm` only shows the methods declared in the current class; methods declared in ancestors will not be presented.
|
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
@@ -14,12 +12,14 @@ F.Y.I
|
|||||||
|---:|:---|
|
|---:|:---|
|
||||||
|*class-pattern*|pattern for class name|
|
|*class-pattern*|pattern for class name|
|
||||||
|*method-pattern*|pattern for method name|
|
|*method-pattern*|pattern for method name|
|
||||||
|[d]|print the details of the method|
|
|`[d]`|print the details of the method|
|
||||||
|[E]|turn on regex matching while the default mode is wildcard matching|
|
|`[E]`|turn on regex matching while the default mode is wildcard matching|
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
```
|
Show methods from `org.apache.catalina.connector.Connector`:
|
||||||
|
|
||||||
|
```bash
|
||||||
$ sm org.apache.catalina.connector.Connector
|
$ sm org.apache.catalina.connector.Connector
|
||||||
org.apache.catalina.connector.Connector-><init>
|
org.apache.catalina.connector.Connector-><init>
|
||||||
org.apache.catalina.connector.Connector->setProperty
|
org.apache.catalina.connector.Connector->setProperty
|
||||||
@@ -61,6 +61,8 @@ org.apache.catalina.connector.Connector->getMaxCookieCount
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Show methods' details from `org.apache.catalina.connector.Connector`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sm org.apache.catalina.connector.Connector -d
|
$ sm org.apache.catalina.connector.Connector -d
|
||||||
declaring-class org.apache.catalina.connector.Connector
|
declaring-class org.apache.catalina.connector.Connector
|
||||||
|
|||||||
Reference in new issue
Block a user