天天看點

centos7 中安裝 htop

首先啟用 EPEL Repository:

yum install -y epel-release      

啟用 EPEL Repository 後, 可以用 yum 直接安裝 Htop:

yum install -y htop      

安裝好 Htop 後, 啟動隻需執行 “htop” 指令:

htop      
centos7 中安裝 htop

按F5顯示樹形結構,輸入程序号22922回車,查找到目标程序,按大寫的H鍵,隐藏線程,效果如下:

centos7 中安裝 htop

完成。

轉載于:https://www.cnblogs.com/linuxandy/p/10801942.html