Skip to content

Commit

Permalink
List jmx beans using jmxterm with extra jars (#7337)
Browse files Browse the repository at this point in the history
* List jmx beans using jmxterm with extra jars

* Update docs/developer/tutorials/jmx/tools.md

* Update docs/developer/tutorials/jmx/tools.md
  • Loading branch information
AlexandreYang authored Aug 20, 2020
1 parent 4d866cd commit 5f848f8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/developer/tutorials/jmx/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,14 @@ java.lang:type=Runtime
java.lang:type=Threading
[...]
```

### List JMX beans using JMXTerm with extra jars

In the example below, the extra jar is `jboss-client.jar`.

```
curl -L https://github.com/jiaqi/jmxterm/releases/download/v1.0.1/jmxterm-1.0.1-uber.jar -o /tmp/jmxterm-1.0.1-uber.jar
java -cp <PATH_WILDFLY>/wildfly-17.0.1.Final/bin/client/jboss-client.jar:/tmp/jmxterm-1.0.1-uber.jar org.cyclopsgroup.jmxterm.boot.CliMain --url service:jmx:remote+http://localhost:9990 -u datadog -p pa$$word
domains
beans
```

0 comments on commit 5f848f8

Please sign in to comment.