From 1a8734bf461792e9df58a2ec5e3b3085df309ab4 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 21 Oct 2016 15:16:02 +1100 Subject: [PATCH] macOS: Show hyperthreaded cores --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 78661991..3819e310 100755 --- a/neofetch +++ b/neofetch @@ -738,7 +738,7 @@ getcpu() { "Mac OS X") cpu="$(sysctl -n machdep.cpu.brand_string)" - cores="$(sysctl -n hw.physicalcpu)" + cores="$(sysctl -n hw.ncpu)" ;; "iPhone OS")