Htop is an interactive process browser under Linux that can be used to replace the top command under Linux.
Htop Official website: http://hisham.hm/htop/
System environment: CentOS release 5.8 (Final)
Installation Htop requires ncurses support, make sure that you have installed:
[Root@localhost ~]# yum install ncurses ncurses-devel
Install Htop
# wget http://hisham.hm/htop/releases/1.0/htop-1.0.tar.gz
# TAR-ZXVF Htop-1.0.tar.gz
# CD htop-1.0
#./configure
# Make && make install
# Htop
Using tutorials
Mouse click Help or press F1 to display its own assistance
The mouse clicks on the setup or presses the F2 to enter Htop to set the page, Meters page set the top of some information display, the top of the display is divided into the left and right sides, in the end can show what can be added to the rightmost column, to add to the top left (F5) or right (F6) can be, This is the scope of the individual set. There's an extra clock here.
The top left and right two columns of the display mode is divided into text bar graph Led Four kinds, the following figure I will be the CPU memory swap to text mode display, and then the right-hand column of the change to bar display, clock with Led mode display. The data show all the same, but this is a bit out of the habit.
The setting of display options can be set according to the manager's own needs.
Color selection, in addition to the basic color display, Htop also provides the function of changing the panel, in fact, only to change the settings of some color display, although it can not be customized to the details of the color display, but at least provide several styles to choose from.
The final setting is to adjust the display of Columns, that is, in general htop instructions come in hope to see what kind of data and information, the adjustment of the field can be personalized in this setting, the general use of the system default value is good.
Mouse click Search or press F3 or enter "/", enter the process name for search, such as search SSH
Press F4 to enter the filter, which is equivalent to keyword search, case-insensitive, such as filter dev
Enter "T" or press F5, show tree structure, meaning like Pstree, can see the structure of all program tree execution, this is quite convenient for system management, how to clarify the procedure is how to produce, of course, the browsing of the tree-like structure can also be sorted according to other data.
4.6. Select the Sort method
Press F6 can choose according to what to order, the most often sorted content is CPU and memory bar!
4.7 Operational processes
F7, F8 respectively corresponding to the nice-and nice+,f9 corresponding kill to the process signal, select a good signal return to OK
4.8. Display a user's process, select the user on the left
Enter "U" and select User on the left
Maybe you used top, we can also use top to open htop.
Edit the/ROOT/.BASHRC file and add the following code
if [-f/usr/local/bin/htop]; Then
alias top= '/usr/local/bin/htop '
fi