This website works better with JavaScript.
Home
Explore
Help
Sign In
nekocentral
/
test
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Added Hostname to output
master
Marcel Haazen
6 years ago
parent
af4923c98a
commit
5ab224c808
1 changed files
with
3 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-2
monitor.cr
+ 3
- 2
monitor.cr
View File
@ -23,5 +23,6 @@ rescue errno
network
=
"
Disconnected
"
network
=
"
Disconnected
"
end
end
#Print Information
puts
"
Internet:
"
+
network
# Print Information
puts
"
Internet:
"
+
network
puts
"
Hostname:
"
+
System
.
hostname
Write
Preview
Loading…
Cancel
Save