serverIdThe server id.
serverNameThe server name.
hostIdThe unique key of the host
errorThe error in processing server status.
serverKindThe kind of application server
enabledThe server is enabled.
portThe server socket bind internet port number.
rootThe root document directory pathname.
modulesThe ID of the database that contains application modules. If on the file-system, then 0.
databaseThe ID of the content database when applicable. In some cases, this is a forest ID or a random number (when neither a database ID nor a forest ID is available).
sslCertificateTemplate
The certificate template.
lastLoginThe ID of the last login database.
displayLastLoginWhether an appserver should display last-login information.
addressThe server socket bind numeric internet address.
backlogThe socket listen backlog.
threadsThe current number of active applicatiton server threads.
maxThreadsThe maximum number of application server threads allowed on each host in the group.
requestTimeoutThe request socket recv timeout, in seconds.
keepAliveTimeoutThe keep-alive socket recv timeout, in seconds.
sessionTimeoutThe session expiration timeout, in seconds.
staticExpiresThe static content expiration interval, in seconds.
maxTimeLimitThe upper bound for a request's time limit, in seconds.
defaultTimeLimitThe default time limit for a request, in seconds.
maxInferenceSizeThe upper bound for a request's inference size, in megabytes.
defaultInferenceSizeThe default inference size for a request, in megabytes.
collation
The default collation for queries.
multiVersionConcurrencyControldistributeTimestampsauthenticationThe authentication scheme to use for this server
defaultUserThe user used as the default user in application level authentication. Using the admin user as the default
user is equivalent to turning security off.
privilegeThe privilege restricting access to the server.
concurrentRequestLimitThe concurrent request limit.
defaultXqueryVersion
An application server's default XQuery language version.
currentTimeThe current time.
requestStatusesThe requests being processed by the server.
This is an object with the following properties:
requestStatusThe request being processed by the server.
This is an object with the following properties:
requestIdA unique id for a request.
serverIdThe server id.
hostIdThe unique key of the host
transactionIdThe unique key of the transaction
canceledHas this request been canceled.
modulesThe ID of the database that contains application modules. If on the file-system, then 0.
databaseThe ID of the content database when applicable. In some cases, this is a forest ID or a random number (when neither a database ID nor a forest ID is available).
rootThe root document directory pathname.
requestKindThe kind of request (for example, invoke, eval).
requestTextThe request text.
requestRewrittenTextThe rewritten request text.
updateSpecifies if this request an update (true for update requests).
startTimeThe time the operation started.
timeLimitThe request's time limit, in seconds.
maxTimeLimitThe upper bound for a request's time limit, in seconds.
lockCountThe request's current limit on combined count for the
number of times a read or a write lock was acquired.
readSizeThe request's current limit on combined size read from
disk (listSize+compressedTreeSize), in bytes.
userThe unique ID of the user executing the request.
clientAddressThe network address of a client
triggerDepthThe maximum depth of trigger invocation.
expandedTreeCacheHitsThe number of hits on the expanded cache.
expandedTreeCacheMissesThe number of misses on the expanded cache.
requestStateThe state of a request
profilingAllowedIs profiling allowed for this request.
profilingEnabledIs profiling currently enabled for this request.
debuggingAllowedIs debugging allowed for this request.
debuggingStatusThe debugging status of the request.
retryCountThe number of retries on the request.
exprIdThe expression id.
whereStoppedWhere the request is stopped.
requestRateThe rate of a request (requests/sec).
queueSizeThe number of tasks in the server queue.
queueLimitThe maximum number size of the queue.
expandedTreeCacheHitsThe number of hits on the expanded cache.
expandedTreeCacheMissesThe number of misses on the expanded cache.
expandedTreeCacheHitRateThe average number of hits on the expanded cache.
expandedTreeCacheMissRateThe average number of misses on the expanded cache.
fsProgramCacheHitsThe number of hits on the filesystem program cache.
fsProgramCacheMissesThe number of misses on the filesystem program cache.
dbProgramCacheHitsThe number of hits on the database program cache.
dbProgramCacheMissesThe number of misses on the database program cache.
envProgramCacheHitsThe number of hits on the XSLT environment program cache.
envProgramCacheMissesThe number of misses on the XSLT environment program cache.
fsMainModuleSeqCacheHitsThe number of hits on the filesystem main module sequence cache.
fsMainModuleSeqCacheMissesThe number of misses on the filesystem main module sequence cache.
dbMainModuleSeqCacheHitsThe number of hits on the database main module sequence cache.
dbMainModuleSeqCacheMissesThe number of misses on the database main module sequence cache.
fsLibModuleCacheHitsThe number of hits on the filesystem library module cache.
fsLibModuleCacheMissesThe number of misses on the filesystem library module cache.
dbLibModuleCacheHitsThe number of hits on the database library module cache.
dbLibModuleCacheMissesThe number of misses on the database library module cache.
fsSchemaCacheHitsThe number of hits on the filesystem schema cache.
fsSchemaCacheMissesThe number of misses on the filesystem schema cache.
dbSchemaCacheHitsThe number of hits on the database schema cache.
dbSchemaCacheMissesThe number of misses on the database schema cache.
envSchemaCacheHitsThe number of hits on the environment schema cache.
envSchemaCacheMissesThe number of misses on the environment schema cache.
hosts
The host's view of all other hosts in the cluster.
This is an object with the following properties:
host
The host connection information.
This is an object with the following properties:
hostName
The internet host name.
roundTripCount
The total of round-trip communications between the App Server
host and this host. A round trip is the completion of a
request sent from the App Server host to another host in the
cluster.
roundTripTime
The total time (as xs:dayTimeDuration) to complete the round
trips from the App Server to this host.
roundTripRate
The moving average data throughput of sending a request and receiving
result in a round trip, in megabytes per second.
roundTripLoad
Time threads spent in sending a request and receiving results in
round-trips, in proportion to the elapsed time.
outputSgmlCharacterEntities
The character entities to use during output.
outputEncoding
The output encoding of the App Server.
defaultErrorFormat
The default error format for protocol errors. One of html,xml,json,compatiable
errorHandler
The error handler used, if any.
urlRewriter
The url rewriter used, if any.
requestTime
1 minute average of request time for this server.
serverReceiveBytes
The number of bytes received over the network.
serverReceiveTime
The time (as xs:dayTimeDuration) to receive over the network.
serverReceiveRate
The moving average of incoming network throughput, in megabytes per
second.
serverReceiveLoad
Network time threads spent receiving data, in proportion to the elapsed
time.
serverSendBytes
The number of bytes sent over the network.
serverSendTime
The time (as xs:dayTimeDuration) to send over the network.
serverSendRate
The moving average of outgoing network throughput, in megabytes per
second.
serverSendLoad
Network time threads spent sending data, in proportion to the elapsed
time.
xdmp.serverStatus(xdmp.host(), xdmp.server("Admin"));
=>
{
"serverId": "16410760008133871361",
"serverName": "Admin",
"hostId": "2485368722774099257",
"serverKind": "http-server",
"enabled": true,
"port": 8001,
"root": "Admin/",
"modules": 0,
"database": "6302398542082263257",
"sslCertificateTemplate": 0,
"lastLogin": 0,
"displayLastLogin": false,
"backlog": 256,
"threads": 1,
"maxThreads": 32,
"requestTimeout": 30,
"keepAliveTimeout": 5,
"sessionTimeout": 3600,
"staticExpires": 3600,
"maxTimeLimit": 10800,
"defaultTimeLimit": 600,
"maxInferenceSize": 500,
"defaultInferenceSize": 100,
"collation": "http://marklogic.com/collation/",
"multiVersionConcurrencyControl": "contemporaneous",
"distributeTimestamps": "fast",
"authentication": "digest",
"defaultUser": "10306463041007996463",
"privilege": 0,
"concurrentRequestLimit": 0,
"defaultXqueryVersion": "0.9-ml",
"currentTime": "2014-12-17T19:57:46.218358-08:00",
"requestStatuses": [],
"requestRate": 0,
"expandedTreeCacheHits": 4196,
"expandedTreeCacheMisses": 547,
"expandedTreeCacheHitRate": 0,
"expandedTreeCacheMissRate": 0,
"fsProgramCacheHits": 275,
"fsProgramCacheMisses": 275,
"dbProgramCacheHits": 0,
"dbProgramCacheMisses": 0,
"envProgramCacheHits": 0,
"envProgramCacheMisses": 0,
"fsMainModuleSeqCacheHits": 10,
"fsMainModuleSeqCacheMisses": 10,
"dbMainModuleSeqCacheHits": 0,
"dbMainModuleSeqCacheMisses": 0,
"fsLibModuleCacheHits": 1167,
"fsLibModuleCacheMisses": 1167,
"dbLibModuleCacheHits": 0,
"dbLibModuleCacheMisses": 0,
"hosts": [],
"outputSgmlCharacterEntities": "none",
"outputEncoding": "UTF-8",
"errorHandler": "/error-switch.xqy",
"urlRewriter": "rewriter.xqy",
"requestTime": 0.195662498474121
}