Home Technology How to Install htop on OSX

Related Posts

How to Install htop on OSX

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 doesn’t 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-1.6.3.3.tar.gz -Otar xzvf git-1.6.3.3.tar.gz cd git-1.6.3.3make 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

Latest Posts

Save 90% or more on software deals!