htop

Downloads

The latest version is 1.0.2.

What's new:

  • You can now configure the IO scheduling priority of processes, pressing the 'i' key (screenshot!)
  • Avoid deleting .htoprc if it is a symlink
  • Fail gracefully when /proc is not mounted (thanks to Philipp Hagemeister)
  • Option to update process names on every refresh (thanks to Rob Hoelz)
  • Bugfix: Fix crashes when process list is empty

You can obtain it freely in two forms:

  • Sources - source code, provided in this site
  • Binaries - pre-compiled binaries, provided by distributions

If you like htop, feel free to buy the author a beer. :-)


Sources

Building htop is straightforward, as it uses GNU Autotools: the typical ./configure; make; sudo make install should do the trick. However, you may prefer to use binaries packaged for your distribution, see below.

  • Stable, tarball: Check out the latest version at the project page.
  • Development, from Subversion tree: You can fetch the work-in-progress sources for the next release using Subversion:
    svn co https://htop.svn.sourceforge.net/svnroot/htop/trunk htop
    You can also browse the svn tree online.

Binaries

Packages for htop are available in most distros. Try the package manager from your system; chances are htop is available from there. Here are some distribution-specific instructions, with acknowledgements to downstream packagers who contacted me to add this information here.

  • GoboLinux: In GoboLinux you can fetch and compile htop by typing: Compile htop
    You can also download the GoboLinux binary package.
  • Debian: In Debian you can fetch htop by typing: apt-get install htop
    You can also download the binary packages from the Debian webpage.
    Thanks to Eugene Lyubimkin and Bartosz Fenski.
  • Fedora: htop is part of Fedora Extras; you can fetch it by typing: yum install htop
    Thanks to Dawid Gajownik.
  • RedHat: You can find RPM's for htop at DAG.
    Thanks to Dag Wieers. Also, you can find RHEL packages at EPEL (thanks to Josh Stone for the tip).
  • Slackware: htop is part of Slackware. You can find it in the ap/ section.
    Thanks to Patrick Volkerding for including it, and to Fred Broders for earlier packages.
  • Gentoo: In Gentoo Linux you can emerge the sys-process/htop package by typing: emerge sys-process/htop
    Thanks to Wolfram Schlich.
  • AltLinux: here are the latest RPMs for AltLinux.
    Thanks to Ilya Evseev.
  • OpenSuSE: htop is included in the OpenSuSE build service.
    Thanks to Timo Hoenig.
  • Mandriva: you can find RPMs for Mandriva (formerly Mandrake and Conectiva) and other RPM-based distributions at RpmFind.
  • KateOS: packages are available at the KateOS Pkgportal. You may enable community repositories in /etc/updateservers or using KatePKG.
    Thanks to Piotr Pelzowski.
  • Zenwalk: Htop is installed by default straight from the Zenwalk GNU/Linux ISO CDs and updates are available via its package manager, netpkg.
    Thanks to Michael Verret.

Known problems in older distributions: htop uses features of the C99 standard; therefore it fails to build with old compilers. Consider upgrading, or use this statically built binary (for Linux-x86) instead. Problems were reported in RedHat 7.x and Fedora Core 2 (for FC2, a workaround is to export TERM=xterm-color on your .bashrc).