Its realy stange… but may be you need connect from console to jmx.
Java application running with following command:
1
2
3
4
5
java -Xms250m -Xmx250m -XX:MaxMetaspaceSize=100m -jar -Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=7000 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false \
testjmx.jar
Download jmxterm
Connect to jmx and get Uptime
1
2
3
4
java -jar jmxterm-1.0.2-uber.jar -l testserver:7000
$>get -b java.lang:type=Runtime Uptime
#mbean = java.lang:type=Runtime:
Uptime = 316938;
help - list avaliable commands
-
Previous
Elasticsearch Calculate the Storage Size of Data streams... -
Next
Example react router simple page (v6)...