How to get a computer name?

How to get a computer name ?

gethostname/1