This content has been marked as final.
Show 1 reply
-
1. Re: Http Management API - Teiid Runtime Operations
rareddy Jul 2, 2019 8:59 AM (in response to dbester)1 of 1 people found this helpful$curl --digest http://localhost:9990/management --header "Content-Type: application/json" -d '{"operation":"engine-statistics", "address":["subsystem","teiid"], "json.pretty":1}' -u admin:admin HTTP/1.1 401 Unauthorized Connection: keep-alive WWW-Authenticate: Digest realm="ManagementRealm", nonce="AAAABAAA9mcyNNq5/ESlOuTASDNYNw3490UAxJNoUPm1AhBFvzwqSRGhOc4=", opaque="00000000000000000000000000000000", algorithm=MD5, qop=auth X-Frame-Options: SAMEORIGIN Content-Length: 77 Content-Type: text/html Date: Tue, 02 Jul 2019 12:56:56 GMT HTTP/1.1 200 OK Connection: keep-alive X-Frame-Options: SAMEORIGIN Content-Type: application/json; charset=utf-8 Content-Length: 486 Date: Tue, 02 Jul 2019 12:56:56 GMT { "outcome" : "success", "result" : { "session-count" : 0, "total-memory-inuse-kb" : 0, "total-memory-inuse-active-plans-kb" : 0, "buffermgr-disk-write-count" : 0, "buffermgr-disk-read-count" : 0, "buffermgr-cache-write-count" : 0, "buffermgr-cache-read-count" : 0, "buffermgr-diskspace-used-mb" : 0, "active-plans-count" : 0, "waiting-plans-count" : 0, "max-waitplan-watermark" : 0 } }