http://blog.chinaunix.net/uid-777398-id-4776759.html

1.        

安装epel

# yum install -y epel*

 

2.

修改/etc/yum.repos.d/ epel.repo 文件,否则yum 会报如下错误:

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

 

3.

将epel.repo 中的baseurl 去掉注释,注释掉mirrorlist

 

4.

# yum install python-pip python-devel -y

 

5.

# yum install –y glances

 

6.

修改主机TERM,或是在crt设置中修改终端类型

export TERM=xterm

 

7.

#glances  如图所示

wKiom1g9STTAUvIfAAWFSJk4a9M889.png

显示的挺齐全的!