Geek Posted May 13, 2011 Posted May 13, 2011 <div class="KonaBody"><p><img src="http://osxdaily.com/wp-content/uploads/2011/05/sort-top-by-cpu.jpg" alt="sort top processes by CPU" title="sort-top-by-cpu" width="620" height="446" class="aligncenter size-full wp-image-16028" /></p> <p>The top command is a great way to get a quick overview of how your system is performing and how apps are using your resources, if you are unfamiliar with it, it’s basically a command line <a href="http://osxdaily.com/2010/08/15/mac-task-manager/">task manager like Activity Monitor</a>. My big complaint with top is that the default setting doesn’t sort processes by CPU, which for me is one of the most useful ways to detect an errant process. This is easily resolved by adding a flag to top though:</p> <p><code>top -o cpu</code></p> <p>Alternatively, you could just <a href="http://osxdaily.com/2011/05/06/htop-for-mac/">install htop for Mac OS X</a> through MacPorts or Homebrew. htop is superior to top in many ways, but because it requires additional software to install many users might not want to bother with it.</p> </div> <p><a href="http://feedads.g.doubleclick.net/~a/7-0Tf8AZ8SKjboImS57RfPASHcE/0/da"><img src="http://feedads.g.doubleclick.net/~a/7-0Tf8AZ8SKjboImS57RfPASHcE/0/di" border="0" ismap="true"></img></a><br/> <a href="http://feedads.g.doubleclick.net/~a/7-0Tf8AZ8SKjboImS57RfPASHcE/1/da"><img src="http://feedads.g.doubleclick.net/~a/7-0Tf8AZ8SKjboImS57RfPASHcE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=3eSJeUa9DAY:s7SGMX7Z_Ho:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=3eSJeUa9DAY:s7SGMX7Z_Ho:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=3eSJeUa9DAY:s7SGMX7Z_Ho:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=3eSJeUa9DAY:s7SGMX7Z_Ho:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/osxdaily?i=3eSJeUa9DAY:s7SGMX7Z_Ho:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=3eSJeUa9DAY:s7SGMX7Z_Ho:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/osxdaily?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/osxdaily?a=3eSJeUa9DAY:s7SGMX7Z_Ho: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/3eSJeUa9DAY" height="1" width="1"/> View the full article
Recommended Posts