Skip to content

Commit

Permalink
docs(cpu_info): add comments for alternative commands to collect/rend…
Browse files Browse the repository at this point in the history
…er information
  • Loading branch information
kral2 committed Sep 8, 2021
1 parent 87ec183 commit 9aa44cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system-config/cpu_info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# List CPU information
# https://apple.stackexchange.com/questions/352769/does-macos-have-a-command-to-retrieve-detailed-cpu-information-like-proc-cpuinf/352770

# Also : https://apple.stackexchange.com/questions/238777/how-do-i-identify-which-cpu-a-macbook-uses/238789#238789
# Interesting output with `system_profiler SPHardwareDataType | grep Processor`

if [ -z "$1" ]; then
sysctl -n machdep.cpu.brand_string
Expand Down

0 comments on commit 9aa44cd

Please sign in to comment.