Browse Source

Added Architecure to output

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

+ 5
- 1
monitor.cr View File

@ -23,6 +23,10 @@ rescue errno
network = "Disconnected" network = "Disconnected"
end end
# Architecture Command
arch = `uname -m`
# Print Information # Print Information
puts "Internet: " + network puts "Internet: " + network
puts "Hostname: " + System.hostname
puts "Hostname: " + System.hostname
puts "Archtecture: " + arch

Loading…
Cancel
Save