Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
Docs Menu
Docs Home
/ /
Native Methods

hostname()

hostname()
Returns:The hostname of the system running the mongo shell process.

Back

getMemInfo()