getHostName()

  • getHostName()

Returns:The hostname of the system running the mongoshell process.