MarkLogic Server 11.0 Product Documentation
dbg:connecteddbg:connected() as xs:unsignedLong*
Summary
Return the ID's of servers that are connected by the debugger.
Required Privileges
http://marklogic.com/xdmp/privileges/debug-any-requests
Example
dbg:connected()
=> (2298273928472, 20384203948)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.