mongodb check system status code example Example: mongodb get status db.runCommand( { serverStatus: 1 } )