Skip to content

Instantly share code, notes, and snippets.

@ableasdale
Created November 23, 2017 09:27
Show Gist options
  • Save ableasdale/70575978ed8d8c182b8566773fa9a8b9 to your computer and use it in GitHub Desktop.
Save ableasdale/70575978ed8d8c182b8566773fa9a8b9 to your computer and use it in GitHub Desktop.
MarkLogic: AppServer status for all groups
xquery version "1.0-ml";
for $host in xdmp:hosts()
for $server in xdmp:group-servers(xdmp:host-group($host))
return xdmp:server-status($host,$server)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment