Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2456

return config file options in getCmdLineOpts

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.9.1
    • None
    • Admin
    • None

    Description

      Return another element with the config file options in addition to the direct command line options.

      > db.runCommand("getCmdLineOpts")
      {
      "argv" : [
      "/usr/bin/mongos",
      "--logpath",
      "/var/log/mongodb/mongos.log",
      "--fork",
      "--config",
      "/etc/mongos.conf"
      ],
      "/etc/mongos.conf" : [
      ....
      ]
      "ok" : 1
      }

      Attachments

        Activity

          People

            matt.dannenberg Matt Dannenberg
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: