Method: LinuxStat::OS.nodename
- Defined in:
- lib/linux_stat/os.rb
.nodename ⇒ Object
Uses utsname.h to determine the system nodename
It returns String but if the info isn’t available, it will return an empty String.
108 109 110 |
# File 'lib/linux_stat/os.rb', line 108 def nodename LinuxStat::Uname.nodename end |