getHostName()

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