Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1959

Document db.currentOp() parameters

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • mongodb-2.4
    • manual
    • None

    Description

      Currently, the currentOp() documentation states: "The db.currentOp() method can take no arguments or take the true argument, which returns a more verbose output, including idle connections and system operations."

      According to https://jira.mongodb.org/browse/SERVER-2434 and testing, currentOp() can take a query to filter the results

      e.g. db.currentOp({'secs_running': {"$gt": 100}})

      Attachments

        Activity

          People

            Unassigned Unassigned
            david.henderson@triggeredmessaging.com David Henderson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 26 weeks, 1 day ago