rsys
pub fn hostname() -> Result<String, Error>
Returns a hostname.
/proc/sys/kernel/hostname
sysctl("kern.hostname")