Since version 2.0, htop is now cross-platform! Check out the video and slides of my presentation at FOSDEM 2016 about how this came to be. This release includes code supporting Linux, FreeBSD, OpenBSD and Mac OS X.
There are also, of course, some new features:
- If you're using NCurses 6, htop will also support your mouse wheel for scrolling.
- Moving meters and columns around in the setup screen is a lot more comfortable now.
- You can now press "e" to see the set of environment variables for a process.
- The "graph" mode for meters was revamped, inspired by James Hall's vtop.
- Mac OS X: stop trying when task_for_pid fails for a process, stops spamming logs with errors.
- Add Ctrl+A and Ctrl+E to go to beginning and end of line
- FreeBSD: fixes for CPU calculation
- Usability: auto-follow process after a search.
- Use Linux backend on GNU Hurd
- Improvement for reproducible builds.
- BUGFIX: Fix behavior of Alt-key combinations
- Various code tweaks and cleanups
In Ubuntu, you can fetch htop by typing:
Open terminal and insert command line...
|$ sudo apt-get install build-essential
$ sudo apt-get install libncurses5-dev libncursesw5-dev
$ wget http://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz
$ tar xvfvz htop-2.0.2.tar.gz
$ cd htop-2.0.2
run the configure and make script to install and compile htop.
$ sudo make install
run the htop monitoring tool by executing following command on the terminal.
|$ sudo apt-get remove htop|