htop工具可查看系统进程,比top命令更强大、直观
通用安装
代码语言:javascript复制# 第三方库
yum install epel-release -y
yum install htop -y
有的镜像源并没有htop,这是需要用rpm包安装
- Centos6安装
rpm -ivh http://mirrors.sohu.com/fedora-epel/epel-release-latest-6.noarch.rpm
yum install htop -y
- Centos7安装
rpm -ivh http://mirrors.sohu.com/fedora-epel/epel-release-latest-7.noarch.rpm
yum install htop -y
执行命令
代码语言:javascript复制htop