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

equivalent of "show variables" from mysql in mongo

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Environment:
      any

      MySQL has "show variables" which shows all the final variables used. Mongo doesn't seem to have the equivalent in one command (but it has some).

      For example, Mongo doesn't have a way to show which directory it is using if you don't pass the option in the config or command line. You can always compile mongodb to use different default directories, so there is no way to know for sure what the variable is if you rely on the default value being the same.

      My need would be to able to which variables, db directory for example, are remotely without having to ssh to the box and look at log files.

      So, a definitive command which shows all the final variables used would be awesome.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            marknospamplease Mark
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: