Geek Posted April 28, 2012 Posted April 28, 2012 <div class="KonaBody"><p><img src="http://cdn.osxdaily.com/wp-content/uploads/2012/04/get-mac-cpu-info-command-line.jpg" alt="Get extended CPU information from the command line" title="get-mac-cpu-info-command-line" width="620" height="246" class="aligncenter size-full wp-image-29748" /></p> <p>Using sysctl we can get extended information on a Macs processor, covering everything from CPU brand and identifier, clock speed, number of cores, thread count, thermal sensor data, cache size, and some significantly more technical information. </p> <p>Launch the Terminal and enter the following command:</p> <p><code>sysctl -a | grep machdep.cpu</code></p> <p>A limited sample of the output looks as follows: <code>$ sysctl -a | grep machdep.cpu machdep.cpu.max_basic: 13 machdep.cpu.max_ext: 2147483656 machdep.cpu.vendor: GenuineIntel machdep.cpu.brand_string: Intel® Core2 Duo CPU P8600 @ 2.40GHz machdep.cpu.family: 6 machdep.cpu.model: 23 machdep.cpu.extmodel: 1 machdep.cpu.extfamily: 0 machdep.cpu.stepping: 10 machdep.cpu.feature_bits: 3219913727 67691517 machdep.cpu.extfeature_bits: 537921536 1 machdep.cpu.signature: 67194 machdep.cpu.brand: 0 machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 XSAVE machdep.cpu.extfeatures: SYSCALL XD EM64T LAHF machdep.cpu.logical_per_package: 2 machdep.cpu.cores_per_package: 2</code></p> <p>The sysctl command is fairly powerful and can provide extensive technical information, we have used it before to <a href="http://osxdaily.com/2011/07/15/get-cpu-info-via-command-line-in-mac-os-x/">get basic processor information</a>, see if a Mac <a href="http://osxdaily.com/2009/09/23/check-if-your-mac-is-64-bit-compatible-via-command-line/">is 64 bit compatible</a>, discover the <a href="http://osxdaily.com/2011/07/14/get-exact-boot-sleep-and-wake-times-from-the-command-line/">precise boot, sleep, and wake times</a> of a Mac, find CPU <a href="http://osxdaily.com/2010/10/23/how-to-check-the-mac-processor-speed/">clock speed</a>, and to get assorted other tidbits about Macs hardware.</p> <p><em>Thanks for the tip <a href="http://osxdaily.com/2007/04/23/get-system-information-from-the-command-line/#comment-5575">nicentral</a></em></p> </div> <p><a href="http://feedads.g.doubleclick.net/~a/uQruII8lFb38JGzNQe47_9cr4r8/0/da"><img src="http://feedads.g.doubleclick.net/~a/uQruII8lFb38JGzNQe47_9cr4r8/0/di" border="0" ismap="true"></img></a><br/> <a href="http://feedads.g.doubleclick.net/~a/uQruII8lFb38JGzNQe47_9cr4r8/1/da"><img src="http://feedads.g.doubleclick.net/~a/uQruII8lFb38JGzNQe47_9cr4r8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=M_r4LY73Nok:J3APkFiAVI8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=M_r4LY73Nok:J3APkFiAVI8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=M_r4LY73Nok:J3APkFiAVI8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=M_r4LY73Nok:J3APkFiAVI8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=M_r4LY73Nok:J3APkFiAVI8:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=M_r4LY73Nok:J3APkFiAVI8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=M_r4LY73Nok:J3APkFiAVI8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=qj6IDK7rITs" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/osxdaily/~4/M_r4LY73Nok" height="1" width="1"/> View the full article
Recommended Posts