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 Architecure to output
master
Marcel Haazen
6 years ago
parent
5ab224c808
commit
c508f0aee7
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
monitor.cr
+ 5
- 1
monitor.cr
View File
@ -23,6 +23,10 @@ rescue errno
network
=
"
Disconnected
"
end
# Architecture Command
arch
=
`
uname -m
`
# Print Information
puts
"
Internet:
"
+
network
puts
"
Hostname:
"
+
System
.
hostname
puts
"
Hostname:
"
+
System
.
hostname
puts
"
Archtecture:
"
+
arch
Write
Preview
Loading…
Cancel
Save