Access to the name and unique identification of the host computer where the system is running can be obtained by the two global flags hostname and hostid, accessed via get_flag/2 or env/0. These flags might not be available on all machines, get_flag/2 fails in these cases.