robbiblubber.org

help | login | search:  
>>

show wiki  show source  compare to current  compare to previous  read  history 


runCommand()


MongoDB Driver Function Reference


Retrieves server status data.



db.serverStatus()



Return Value


Returns a result set (cursor).



Example


db.serverStatus().pretty();


Retrieves and formats the server status.

















home | MongoDB Driver Function Reference | MongoDB Driver