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

return config file options in getCmdLineOpts

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.1
    • Component/s: Admin
    • Labels:
      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

            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: