Consultation Debug API
Get memory usage
Returns memory info from the Java Runtime of the current node. See additional info in Memory Report.
GET/rest/debug/memory
Query parameters | None |
Header | auth-token: token from authentication |
Header / Parameter | tenant |
Body | None |
Returns | Memory Report |
Required role | KBA MANAGER |
Managed errors | 401: insufficient privileges |
Example request
curl 'http://localhost:8080/mwp/rest/debug/memory -H 'auth-token: 928c5455-e984-4211-b811-95fdf57a50f1.1d86309a-ff8b-48f5-8a0e-7c11bc932ba4 192.168.99.1'
Example response
{ "total:": 198103040, "max:": 1555431424, "free:": 85147464 }