[SERVER-2456] return config file options in getCmdLineOpts Created: 01/Feb/11 Updated: 12/Jul/16 Resolved: 29/Jul/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.1 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Matt Dannenberg |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Return another element with the config file options in addition to the direct command line options. > db.runCommand("getCmdLineOpts") |
| Comments |
| Comment by Matt Dannenberg [ 29/Jul/11 ] |
|
getCmdLineOpts now returns an array "argv" containing the arguments passed to mongod and an object "parsed" with key value pairs of the flags by name and the value to which they were set |
| Comment by Swen Thümmler [ 02/Feb/11 ] |
|
The options from config file should be the options effective at startup time (config file could have been changed in between) |