
xdmp:cache-status( [$host-id as xs:unsignedLong*] ) as element(cache-status)*
Returns the status of the caches.
| Parameters | |
|---|---|
| host-id | A host ID. Default value is the local host. |
http://marklogic.com/xdmp/privileges/status
xdmp:cache-status()
=>
<cache-status xmlns="http://marklogic.com/xdmp/status/cache">
<host-id>13264574555735898770</host-id>
<host-name>raymond.marklogic.com</host-name>
<compressed-tree-cache-partitions>
<compressed-tree-cache-partition>
<partition-size>32</partition-size>
<partition-table>53.9</partition-table>
<partition-used>46.2</partition-used>
<partition-free>53</partition-free>
<partition-overhead>0.8</partition-overhead>
</compressed-tree-cache-partition>
</compressed-tree-cache-partitions>
<expanded-tree-cache-partitions>
<expanded-tree-cache-partition>
<partition-size>32</partition-size>
<partition-table>81.2</partition-table>
<partition-busy>0</partition-busy>
<partition-used>89.7</partition-used>
<partition-free>6.2</partition-free>
<partition-overhead>4.1</partition-overhead>
</expanded-tree-cache-partition>
</expanded-tree-cache-partitions>
<list-cache-partitions>
<list-cache-partition>
<partition-size>32</partition-size>
<partition-table>0.1</partition-table>
<partition-busy>0</partition-busy>
<partition-used>0.1</partition-used>
<partition-free>99.9</partition-free>
<partition-overhead>0</partition-overhead>
</list-cache-partition>
</list-cache-partitions>
</cache-status>
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.