Need a command that lists all connections to/from a given mongos or mongod

XMLWordPrintableJSON

    • Server Programmability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The currentOp(true) command does not always return a list of all open connections to and from a given mongos or mongod. This is especially true on a mongos where the command instead calls currentOp() on the primary nodes of each shard and merges the results together.

      I need a reliable way to determine what connections are currently open to and from a given mongos or mongod server. This list should correspond to the connection count from db.serverStatus().connections.

              Assignee:
              Unassigned
              Reporter:
              Andrew Young (Inactive)
              Votes:
              11 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated: