Lurker News

Comments (153) 37 threads

Earlier comments
mperham2 replies#
htop is an amazing upgrade to plain old top. Thank you for your work on this!
grubles2 replies#
Agreed. And it's fun running it on a box with 32+ cores.
NickSharp2 replies#
Is there a quick way to avoid having all those cores take up the top 32 lines of the screen?

Checking my 40 core machine in a typical terminal window, I can't see any of the processes, just 40 lines of CPU! Thanks.

NocturnalWaffle1 reply#
If you press F2 you can change the setup for the top meters and switch it out with CPU average or other combinations of cores.

Continue this thread — 1 reply

hisham_hm#
Really? Recent versions shouldn't take more than 10 lines for 40 cores. It displays them in 4 columns.
broodbucket1 reply#
With 320 cores you can't see anything.
akerro1 reply#
Hmm... and I use it on a 32bit netbook...

Continue this thread — 1 reply

twothamendment#
Yes, it is hard top something called top, but htop does! It is a must have.
spirit5553 replies#
I love htop! I hope homebrew gets it soon. Mine only says version 0.8.2.8? I donated $5 to the developer. Thanks for htop
adouzzy#
I just compiled. I runs successfully.
hisham_hm#
Thank you! :)
nodesocket2 replies#
Huge htop fan. Honestly probably my favorite unix utility.

Just did `brew update && brew upgrade` but not seeing an htop update. I am still running htop 0.8.2.8 via brew.
Also tried on an AWS server running Ubuntu, same thing `apt-get update && apt-get upgrade` no new htop version available. Running htop 1.0.2.

wrigby1 reply#
I hit the same thing, so I figured I would try compiling from source.

I built ncurses 6.0 from source (installed to $HOME/local) and then htop 2.0 (also to $HOME/local) and it worked a charm. This was on a clean (took it out of the box today) 10.11 system.

nodesocket2 replies#
Ehhhhhhhhhhhh, really want to stick with using native package managers (brew, apt). Did you just add htop to the apt exclude?
wrigby#
Ack, my bad. I meant OS X 10.11 (El Capitan). Same should probably work on any Linux distro with standard build tools installed.

I keep a ~/local directory with built-from-source programs in it. That way I don't get any conflicts with system-wide package managers.
Configure line for ncurses:

  ./configure  --enable-pc-files --with-pkg-config-libdir=$HOME/local/lib/pkgconfig --with-shared --prefix=$HOME/local
  make -j8 && make install
And for htop, a regular configure worked fine:

  ./configure --prefix=$HOME/local
  make -j8 && make install
A quick check in my .bashrc (actually .zshrc) prepends $HOME/local/bin to my $PATH if it exists.
alphonse231 reply#
I too would like to know how to install via brew.

Continue this thread — 1 reply

gourneau#
woohoo! ProTip: Even older versions of htop have mouse support. You can click on columns the change sorting for example.

Load more comments