htop for Snow Leopard

22 Feb 2010
Posted by Jeet Sukumaran

htop is an interactive process viewer, like top, but greatly enhanced in many respects. The main code base relies on the virtual directory '/proc', which does not exist in OS X. However, thanks to the generosity and smarts of Andy Armstrong, an OS X port is available, and can be cloned by:

$ git clone git://github.com/AndyA/htop-osx.git

Building this under Snow Leopard requires you to checkout the 'osx' branch:

$ git checkout -b osx origin/osx

and set your 'CFLAGS' environmental variable to specify a 32-bit build:

$ export CFLAGS="-m32"

before the actual build:

$ ./autogen.sh
$ ./configure
$ make
$ make install
For those of you that want to skip all this, I have made the Snow Leopard build available here.

Very nice. But ...

Thanks very much for this. I built it on Snow Leopard and it seems OK, except when I hit F6. Then it just crashes.


git

git git://github.com/AndyA/htop-osx.git

makes no sense.


should be "clone"

Sorry, missed the "clone" command. Fixed now.


Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a biological visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.