From d7a2b23001cc17f3f502d8acaa6e237f6ba20854 Mon Sep 17 00:00:00 2001 From: Marcel Haazen Date: Mon, 22 Oct 2018 18:17:09 +0200 Subject: [PATCH] Added Core Count to output --- monitor.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monitor.cr b/monitor.cr index f800689..b10faec 100644 --- a/monitor.cr +++ b/monitor.cr @@ -29,4 +29,5 @@ arch = `uname -m` # Print Information puts "Internet: " + network puts "Hostname: " + System.hostname -puts "Archtecture: " + arch \ No newline at end of file +puts "Archtecture: " + arch +puts "Core Count: " + System.cpu_count.to_s \ No newline at end of file