htop 是一个 Linux 下的交互式的进程浏览器,可以用来替换Linux下的top命令。

1、安装HTop时需要先安装依赖包:rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

wget http://rpmfind.net/linux/dag/redhat/el7/en/x86_64/dag/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

2、然后使用yum安装即可:

yum -y install htop

3、编译安装下载地址:http://hisham.hm/htop/releases/

[root@mycentos ~]# tar zxvf htop-2.2.0.tar.gz
[root@mycentos ~]# cd htop-2.2.0
[root@mycentos ~]# yum -y install ncurses-devel
[root@mycentos ~]# yum -y install gcc
[root@mycentos ~]# ./configure
[root@mycentos ~]# make
[root@mycentos ~]# make instal

 

相关文章:

  • 2021-12-12
  • 2021-07-01
  • 2021-06-18
  • 2021-12-22
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-02
  • 2021-12-23
  • 2021-06-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-11
  • 2021-05-27
相关资源
相似解决方案