Browse Source

Added Hostname to output

master
Marcel Haazen 6 years ago
parent
commit
5ab224c808
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      monitor.cr

+ 3
- 2
monitor.cr View File

@ -23,5 +23,6 @@ rescue errno
network = "Disconnected"
end
#Print Information
puts "Internet: " + network
# Print Information
puts "Internet: " + network
puts "Hostname: " + System.hostname

Loading…
Cancel
Save