加入yum來源
32bit
-------------- For RHEL/CentOS 6 -------------- # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ihv epel-release-6-8.noarch.rpm -------------- For RHEL/CentOS 5 -------------- # wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm # rpm -ihv epel-release-5-4.noarch.rpm
64bit
-------------- For RHEL/CentOS 7 -------------- # wget dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm # rpm -ihv epel-release-7-11.noarch.rpm -------------- For RHEL/CentOS 6 -------------- # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ihv epel-release-6-8.noarch.rpm -------------- For RHEL/CentOS 5 -------------- # wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm # rpm -ihv epel-release-5-4.noarch.rpm
yum安裝
yum install htop
使用方式直接打htop即可
- 標題,我們可以看到CPU,內存,交換等信息,還可以顯示任務,平均負載和正常運行時間。
- 按CPU利用率排序的進程列表。
- 頁腳顯示不同的選項,如help, setup, filter tree kill, nice , quit等。