Htop is a very advanced interactive real-time Linux process monitoring tool. It is very similar to the top command, but it has richer features such as user-friendly management of processes, shortcut keys, vertical and horizontal display of processes, and so on. Htop is a third-party tool that is not included in a Linux system and you need to use the Yum Package management tool to install it.
One, install Htop in RPM package
1, configuring the Yum source
-------------- For RHEL/CentOS 7 --------------# wget http://pkgs.repoforge.org /rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm# rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm-------------- For RHEL/CentOS 6 --------------# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm# rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm-------------- for rhel/centos 5 --------------# wget http://packages.sw.be/rpmforge-release/ rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm# rpm -ivh rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
2, installation
# yum-y Install Htop
Second, compile and install
# yum Groupinstall "Development Tools" # Yum install ncurses ncurses-devel# wget http://hisham.hm/htop/releases/2.0.0/ htop-2.0.0.tar.gz# tar zvxf htop-2.0.0.tar.gz# cd htop-2.0.0#./configure--prefix=/usr/local/# make# make install
# Htop
650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M00/7F/2B/wKioL1cV1tWglR6iAAGuwBK_Tps842.png "title=" image 221. PNG "alt=" Wkiol1cv1twglr6iaaguwbk_tps842.png "/>
This article is from "Luo Chen's blog" blog, please be sure to keep this source http://luochen2015.blog.51cto.com/9772274/1765379
Htop–linux Process Monitoring Tool