db.printSlaveReplicationInfo() db.serverCmdLineOpts() db.shutdownServer() tail -f mongodb.log | grep -v "connections now open" --line-buffered