From c508f0aee7d4054754a9033618f6da8df8145e30 Mon Sep 17 00:00:00 2001 From: Marcel Haazen Date: Mon, 22 Oct 2018 18:16:41 +0200 Subject: [PATCH] Added Architecure to output --- monitor.cr | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/monitor.cr b/monitor.cr index 5deaace..f800689 100644 --- a/monitor.cr +++ b/monitor.cr @@ -23,6 +23,10 @@ rescue errno network = "Disconnected" end +# Architecture Command +arch = `uname -m` + # Print Information puts "Internet: " + network -puts "Hostname: " + System.hostname \ No newline at end of file +puts "Hostname: " + System.hostname +puts "Archtecture: " + arch \ No newline at end of file