centos7 中安装 htop

首先启用 EPEL Repository:

yum install -y epel-release

启用 EPEL Repository 后, 可以用 yum 直接安裝 Htop:

yum install -y htop

安裝好 Htop 后, 启动只需執行 “htop” 指令:

htop

 

按F5显示树形结构,输入进程号22922回车,查找到目标进程,按大写的H键,隐藏线程,效果如下:

 

 

完成。

posted @ 2019-05-02 11:43  Andy-Law  阅读(314)  评论(0编辑  收藏  举报