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 - buildInfodatabase command.- buildInforeturns a document that contains an overview of parameters used to compile this- mongodinstance.