一、htop 比top的优势
可以通过鼠标操作
直接选择到进程直接kill进程
可以横向或纵向滚动进程列表,同时可以查看进程完整的命令行
二、下载安装
Centos 7
yum install epel-release -y
yum install htop -y
Centos 6
rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
yum install htop -y