- Reference >
- Database Commands >
- Diagnostic Commands >
- buildInfo
buildInfo¶
On this page
- 
buildInfo¶
- The - buildInfocommand is an administrative command which returns a build summary for the current- mongod.- buildInfohas the following prototype form:- In the - mongoshell, call- buildInfoin the following form:- Example - The output document of - buildInfohas the following form:
Output¶
Supported¶
These fields are stable and should provide consistent behavior.
- 
buildInfo.gitVersion¶
- The commit identifier that identifies the state of the code used to build the - mongod.
- 
buildInfo.versionArray¶
- An array that conveys version information about the - mongodinstance. See- versionfor a more readable version of this string.
- 
document buildInfo.version¶
- A string that conveys version information about the - mongodinstance. If you need to present version information to a human, this field is preferable to- versionArray.- This string will take the format - <major>.<minor>.<patch>in the case of a release, but development builds may contain additional information.
- 
document buildInfo.storageEngines¶
- New in version 3.2. - A list of storage engines available to the - mongodserver.
- 
buildInfo.javascriptEngine¶
- Changed in version 3.2. - A string that reports the JavaScript engine used in the - mongodinstance. By default, this is- mozjsafter version 3.2, and previously- V8.
- 
buildInfo.debug¶
- A boolean. - truewhen built with debugging options.
- 
buildInfo.maxBsonObjectSize¶
- A number that reports the - Maximum BSON Document Size.
Unstable¶
These fields are for internal use only, and you should not expect their behavior or existence to remain consistent on any level.
- 
buildInfo.sysInfo¶
- Deprecated since version 3.2. - buildInfo.sysInfono longer contains useful information.