Last active
August 29, 2015 14:12
-
-
Save tallpsmith/0591dd238314a6a71bdf to your computer and use it in GitHub Desktop.
Grabbing the Heap Memory from ActiveMQ using Jolokia REST
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#curl --silent -XGET --user admin:admin http://localhost:8161/api/jolokia/read/java.lang:type=Memory/HeapMemoryUsage | python -m json.tool | |
{ | |
"request": { | |
"attribute": "HeapMemoryUsage", | |
"mbean": "java.lang:type=Memory", | |
"type": "read" | |
}, | |
"status": 200, | |
"timestamp": 1420596076, | |
"value": { | |
"committed": 226492416, | |
"init": 131005376, | |
"max": 954728448, | |
"used": 31846216 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment