[SERVER-24] Server Info Command Created: 20/Apr/09  Updated: 12/Jul/16  Resolved: 20/Apr/09

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Michael Dirolf Assignee: Aaron Staple
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Would be useful to have a command that returns the git hash of the server and other information that gets printed when the server starts up.



 Comments   
Comment by Aaron Staple [ 20/Apr/09 ]

Implemented

> db.runCommand( "buildinfo" );

{"gitVersion" : "80847b561c5851fa763866af06bb021af893f31a" , "sysInfo" : "Darwin Aarons-computer.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386" , "ok" : 1}
Generated at Thu Feb 08 02:52:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.