Skip to content

Commit f4b900b

Browse files
committed
list mbeans script
1 parent 15760d5 commit f4b900b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

monitoring/list_mbeans.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
HOST=$1
4+
PORT=$2
5+
6+
wget https://github.com/jiaqi/jmxterm/releases/download/v1.0.2/jmxterm-1.0.2-uber.jar
7+
8+
# Connect to the JMX server using jmxterm
9+
java -jar jmxterm-1.0.2-uber.jar --url $HOST:$PORT <<EOF
10+
beans
11+
EOF

0 commit comments

Comments
 (0)