macOS: Show hyperthreaded cores
This commit is contained in:
parent
5274d2d54a
commit
1a8734bf46
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -738,7 +738,7 @@ getcpu() {
|
||||||
|
|
||||||
"Mac OS X")
|
"Mac OS X")
|
||||||
cpu="$(sysctl -n machdep.cpu.brand_string)"
|
cpu="$(sysctl -n machdep.cpu.brand_string)"
|
||||||
cores="$(sysctl -n hw.physicalcpu)"
|
cores="$(sysctl -n hw.ncpu)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"iPhone OS")
|
"iPhone OS")
|
||||||
|
|
Loading…
Reference in a new issue