Featured Posts

GoAccess is an interactive and website / web-server log analyzer tool currently better than the ApacheTop interface. It provides fast and valuable HTTP statistics for system administrators that require a visual...

Readmore

AjaxMyTop AjaxMyTop is a Web-based tool featuring an AJAX user interface for monitoring a MySQL server. Installing and configuring is fairly simple which you can done it within 2 minutes. [caption id="attachment_587"...

Readmore

Mod_spin is a content handler and/or a filter, meaning, for a specified file extension, mod_spin will read the file (or other input), parse it into an Abstract Syntax Tree (AST) and then replace the occurrences...

Readmore

Server Monitoring using DSTAT DSTAT an excellent tool which combines the overall stats of vmstat, iostat, netstat and ifstat. Dstat allows us to view all of the system resources in the real-time including the network bandwidth, network...

Readmore

BWM-NG Monitoring Network Bandwidth and Disk I/O using BWM-NG BWN-NG (Bandwidth-NG) is old and simple tool to monitor the bandwidth and disk I/O including the RAMdisk usage, this tool really helps the...

Readmore

  • Prev
  • Next

Install Htop

Posted on : 05-09-2010 | By : admin | In : Monitoring Tools

0

Htop


Is a very interactive tui based tool written in C program(using the ncurses library) by Hisham Muhammad with a group of code contributors. Basically htop was written to replace the standard top tool in unix/linux operating system. Htop provides a full list of processes running, instead of the top resource-consuming processes. Htop uses color and gives visual information about processor, swap and memory status

Various Htop features over the standard top command.

  • when trying to find minor memory leaks in applications. Compared to top, it provides a more convenient, cursor-controlled interface for killing processes.
  • In ‘htop’ you can scroll the list vertically and horizontally to see all processes and complete command lines.
  • In ‘top’ you are subject to a delay for each unassigned key you press (especially annoying when multi-key escape sequences are triggered by accident).
  • ‘htop’ starts faster (‘top’ seems to collect data for a while before displaying anything).
  • In ‘htop’ you don’t need to type the process number to kill a process, in ‘top’ you do.
  • In ‘htop’ you don’t need to type the process number or the priority value to renice a process, in ‘top’ you do.
  • ‘htop’ supports mouse operation, ‘top’ doesn’t
  • ‘top’ is older, hence, more used and tested.
  • Configuring/monitoring using CPU affinity
  • Tree view, SMP, and other features available
  • An impressive setup — htop running on a machine with 128 cores and 1TB of RAM

Installing htop


Htop rpm can be found at http://packages.sw.be/htop/ . Make sure you have downloaded the right version/arch of htop rpm available on the list. For example to install htop on centos 4 32 bit :

execute the command htop from your shell and that’s it you are done.

Installing htop from source


Download the htop source from : http://sourceforge.net/projects/htop/

This will install the htop binary in /usr/local/bin/htop .

Run the command htop from shell to monitor the system process.

Some useful htop tips :


To set the delay time (in seconds before starting the command) : htop -d <your refesh limit in seconds)

To list only the specific user in the system try -u for exampe : htop -u apache (will list only the process run by the apache user)

Find out the htop help menu by pressing the F1 key after executing the htop command from the command line for more help refer ‘ man help ‘. Cheers!

Install Htop

Htop

External links :


Htop Home page :

Htop Wiki :

Write a comment

You must be logged in to post a comment.