Sunday, September 4, 2016

How to install Htop 2.0.2 on Ubuntu 16.04

   Htop is an interactive real time process monitoring application for Linux/Unix like systems and also a handy alternative to top command, which is default process monitoring tool that comes with pre-installed on all Linux operating systems



     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.
htop 2.0.2 changelog: 

  •     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

Installation instructions: 

    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.

$ ./configure

$ make

$ sudo make install

  run the htop monitoring tool by executing following command on the terminal.

$ htop

  Remove Htop

$ sudo apt-get remove htop







No comments:

Post a Comment