Retrieve status information about the hosts in the cluster.
Request Headers | |
---|---|
Accept | The expected MIME type of the response. If the
format parameter is present, it takes precedence over the Accept header. |
Upon success, MarkLogic Server returns status code 200 (OK), and the response body contains the requested information.
manage-user
role, or the following
privilege: http://marklogic.com/xdmp/privileges/manage
The structure of the output returned from this REST API is as follows:
meta
This is a complex structure with the following children:
uri
current-time
elapsed-time
start-min
view-error
This is a complex structure with the following children:
error-type
error-name
error-code
error-message
relations
This is a complex structure with the following children:
relation-group
This is a complex structure with the following children:
uriref
typeref
roleref
relation-count
relation
This is a complex structure with the following children:
qualifiers
This is a complex structure with the following children:
qualifier
This is a complex structure with the following children:
uriref
typeref
idref
nameref
uriref
typeref
roleref
idref
nameref
status-list-summary
This is a complex structure with the following children:
total-hosts
total-hosts-offline
total-cpu-stat-system
total-cpu-stat-user
memory-process-rss
memory-size
memory-system-total
memory-process-huge-pages-size
memory-system-free
load-properties
This is a complex structure with the following children:
total-load
load-detail
This is a complex structure with the following children:
query-read-load
journal-write-load
save-write-load
merge-read-load
merge-write-load
backup-read-load
backup-write-load
restore-read-load
restore-write-load
large-read-load
large-write-load
external-binary-read-load
xdqp-client-receive-load
xdqp-client-send-load
xdqp-server-receive-load
xdqp-server-send-load
foreign-xdqp-client-receive-load
foreign-xdqp-client-send-load
foreign-xdqp-server-receive-load
foreign-xdqp-server-send-load
read-lock-wait-load
read-lock-hold-load
write-lock-wait-load
write-lock-hold-load
deadlock-wait-load
rate-properties
This is a complex structure with the following children:
total-rate
rate-detail
This is a complex structure with the following children:
memory-process-swap-rate
memory-system-pagein-rate
memory-system-pageout-rate
memory-system-swapin-rate
memory-system-swapout-rate
query-read-rate
journal-write-rate
save-write-rate
merge-read-rate
merge-write-rate
backup-read-rate
backup-write-rate
restore-read-rate
restore-write-rate
large-read-rate
large-write-rate
external-binary-read-rate
xdqp-client-receive-rate
xdqp-client-send-rate
xdqp-server-receive-rate
xdqp-server-send-rate
foreign-xdqp-client-receive-rate
foreign-xdqp-client-send-rate
foreign-xdqp-server-receive-rate
foreign-xdqp-server-send-rate
read-lock-rate
write-lock-rate
deadlock-rate
status-list-items
This is a complex structure with the following children:
status-list-item
This is a complex structure with the following children:
uriref
idref
nameref
related-views
This is a complex structure with the following children:
related-view
This is a complex structure with the following children:
view-type
view-name
view-uri
http://localhost:8002/manage/v2/hosts?view=status ==> Returns a status summary of the hosts in the cluster.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.