Checking the statuses of hosts from the terminal