htop for Snow Leopard
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
feed
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