One of the few things I missed when I made my move from Linux to OSX is the ability to use htop. As many of you might know, OSX is based on Mach Kernel a custom implementation of Unix. So right out of the box OSX gives you the power of many *nix command line tools, which is why users who are comfortable with *nix systems, fit right at home with OSX.
Unfortunately htop doesnt have OSX binary available so you will basically have to install it from source. Fortunately, there is an OSX specific htop project out there.
First you will need to install git (skip if you already have git installed):
curl http://kernel.org/pub/software/scm/git/git-184.108.40.206.tar.gz -Otar xzvf git-220.127.116.11.tar.gz cd git-18.104.22.168make configure ./configure –prefix=/usr/localNO_MSGFMT=yes make prefix=/usr/local allsudo make install
Now you can use git to install htop-osx:
git clone git://github.com/AndyA/htop-osx.gitcd htop-osxgit checkout -b osx origin/osx./autogen.sh./configuremake sudo make install
- Even though OSX comes with top and its own built-in system monitor, I have always found htop to be a much better way to monitor my system usage. Which is why I have it installed in all my server and monitor them from SSH