首先启用 EPEL Repository:

yum -y install epel-release

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

yum -y install htop

安裝好 Htop , 啟動只需執行 "htop" 指令:

htop

centos6.5-64bit安装htop

  

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

centos6.5-64bit安装htop 


另:


与 top 相比,htop 包含的优点有:   
  
 1.可以横向或纵向滚动浏览进程列表,以便看到所有的进程和完整的命令行。   
2.在启动上,比 top 更快。   
3.杀进程时不需要输入进程号。   
4.htop 支持鼠标操作。   
5.top 已经很老了。   




转自:https://www.cnblogs.com/liyou-blog/p/5741829.html

参考:http://blog.csdn.net/weiyuanzhuo/article/details/52168635




相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2022-01-01
  • 2021-04-08
  • 2021-09-06
  • 2022-12-23
猜你喜欢
  • 2021-04-15
  • 2022-12-23
  • 2022-02-08
  • 2021-07-07
  • 2021-05-27
相关资源
相似解决方案