Jump to content

Recommended Posts

Posted

<div class="KonaBody"><p>Retrieving CPU information from the <a href="http://osxdaily.com/category/command-line/">command line</a> in Mac OS X is easy enough, first we’ll use sysctl because it give us everything on one easy to read line:</p>

<p><code>sysctl -n machdep.cpu.brand_string</code></p>

<blockquote><p>Intel® Core2 Duo CPU E8600 @ 2.40GHz</p></blockquote>

<p>This is advantageous because it reports back the chip model , if you don’t want the model number and simply want processor name, speed, and the number of processors, you can use grep with system_profiler:</p>

<p><code>system_profiler | grep Processor</code></p>

<blockquote><p> Processor Name: Intel Core 2 Duo

Processor Speed: 2.4 GHz

Number of Processors: 1</p></blockquote>

<p>There are probably other methods as well, but these two are detailed and give you the information you need. For the record, there is a much <a href="http://osxdaily.com/2010/10/23/how-to-check-the-mac-processor-speed/">easier way</a> to get this information, just go to “About This Mac” under the  Apple menu.</p>

</div>

<p><a href="http://feedads.g.doubleclick.net/~a/hANToTnygDm62Fk1ZvzZVwTLaug/0/da"><img src="http://feedads.g.doubleclick.net/~a/hANToTnygDm62Fk1ZvzZVwTLaug/0/di" border="0" ismap="true"></img></a><br/>

<a href="http://feedads.g.doubleclick.net/~a/hANToTnygDm62Fk1ZvzZVwTLaug/1/da"><img src="http://feedads.g.doubleclick.net/~a/hANToTnygDm62Fk1ZvzZVwTLaug/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">

<a href="http://feeds.feedburner.com/~ff/osxdaily?a=oguqhdt87sY:O0z_nfD0RgQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=oguqhdt87sY:O0z_nfD0RgQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=oguqhdt87sY:O0z_nfD0RgQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=oguqhdt87sY:O0z_nfD0RgQ:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=oguqhdt87sY:O0z_nfD0RgQ:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=oguqhdt87sY:O0z_nfD0RgQ:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=oguqhdt87sY:O0z_nfD0RgQ: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/oguqhdt87sY" height="1" width="1"/>

 

View the full article

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic


×
×
  • Create New...