mirror of https://github.com/alibaba/arthas.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
800 B
Markdown
20 lines
800 B
Markdown
4 years ago
|
|
||
|
The `vmtool` command can search object in JVM.
|
||
|
|
||
|
`vmtool --action getInstances --className java.lang.String --limit 10`{{execute T2}}
|
||
|
|
||
|
```bash
|
||
|
$ vmtool --action getInstances --className java.lang.String --limit 10
|
||
|
@String[][
|
||
|
@String[com/taobao/arthas/core/shell/session/Session],
|
||
|
@String[com.taobao.arthas.core.shell.session.Session],
|
||
|
@String[com/taobao/arthas/core/shell/session/Session],
|
||
|
@String[com/taobao/arthas/core/shell/session/Session],
|
||
|
@String[com/taobao/arthas/core/shell/session/Session.class],
|
||
|
@String[com/taobao/arthas/core/shell/session/Session.class],
|
||
|
@String[com/taobao/arthas/core/shell/session/Session.class],
|
||
|
@String[com/],
|
||
|
@String[java/util/concurrent/ConcurrentHashMap$ValueIterator],
|
||
|
@String[java/util/concurrent/locks/LockSupport],
|
||
|
]
|
||
|
```
|