Last active
December 29, 2018 08:45
-
-
Save phantomk/cb11051d3ccfbfc0009e0722a399b4af to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "CPU型号: " | |
sysctl -n machdep.cpu.brand_string | |
echo "CPU核心数: " | |
sysctl -n machdep.cpu.core_count | |
echo "CPU线程数: " | |
sysctl -n machdep.cpu.thread_count | |
echo "其它信息:" | |
system_profiler SPDisplaysDataType SPMemoryDataType SPStorageDataType | grep 'Graphics/Displays:\|Chipset Model:\|VRAM (Total):\|Resolution:\|Memory Slots:\|Size:\|Speed:\|Storage:\|Media Name:\|Medium Type:' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment