db.serverBuildInfo()
This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
db.serverBuildInfo()
Provides a wrapper around the
buildInfo
database command.buildInfo
returns a document that contains an overview of parameters used to compile thismongod
instance.