Created
June 12, 2018 16:04
-
-
Save ableasdale/c126bfe9ad9192ec3124ed32a152c9c9 to your computer and use it in GitHub Desktop.
MarkLogic: get status of all requests for all application servers in a cluster
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
xquery version "1.0-ml"; | |
declare namespace ss = "http://marklogic.com/xdmp/status/server"; | |
for $host in xdmp:group-hosts(xdmp:groups()) | |
for $server in xdmp:group-servers(xdmp:groups()) | |
return | |
xdmp:server-status($host, $server)//ss:request-status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment