command line get the main hardware configuration of Apple Computer

Source: Internet
Author: User

Recently the company wanted to collect an Apple computer, the boss in his circle of friends shouted, received a lot of response. I found that a lot of people who bought a Mac do not use, the computer is idle, and even the basic configuration of their own computers do not know, so this thing is very difficult ...

How to get the most out of your computer's main hardware configuration? If under Windows, it must be to the Control Panel Device Manager to see, or install a third-party software, domestic looks like a lot of, but I am now very resistant to the installation of software, the reason is that these free domestic software bundled too much so you accidentally installed on the rogue software, Device Manager, A lot of information, but not much useful, like a video card This kind of thing is not too much to see the model, point to point to also trouble. --Command line interface is a must, this time you will understand the command line interface is better than the graphical interface, I will write a simple script:

Echo-N"CPU Model:"Sysctl-N machdep.cpu.brand_stringEcho-N"number of CPU cores:"Sysctl-N Machdep.cpu.core_countEcho-N"number of CPU threads:"Sysctl-N Machdep.cpu.thread_countEcho "Additional information:"system_profiler spdisplaysdatatype spmemorydatatype spstoragedatatype|grep 'graphics/displays:\| Chipset model:\| VRAM (total): \| resolution:\| Memory slots:\| size:\| speed:\| storage:\| Media name:\| Medium Type:'

Run to get the result:

CPU model, frequency, core number, number of threads, two graphics card display chip model, video memory, display resolution, memory number, memory speed, hard disk type and hard disk model, are directly displayed, no nonsense. With this, it's almost there.

command line get the main hardware configuration of Apple Computer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.