centos6.6 安装 glances

环境:

[root@vsftpd ~]# cat /etc/redhat-release 
CentOS release 6.6 (Final)
[root@vsftpd ~]# uname -r
2.6.32-504.el6.x86_64
[root@vsftpd ~]# uname -m
x86_64


安装epel源

# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm


# yum install python-pip.noarch -y

# yum install python-devel.x86_64  -y

# yum install python-psutil -y  

# yum install python-jinja2.x86_64 -y

# yum install python-pip python-devel -y


安装glances

# yum install –y glances

运行:

# glances


效果如下:

spacer.gif

查看帮助信息:

# glances -h                                                                                                                                  

2015-11-20 16:53:58
Glances version 1.7.4 with PsUtil 0.6.1
Usage: glances [options]

Options:
-b Display network rate in Byte per second
-B @IP|HOST Bind server to the given IPv4/IPv6 address or hostname
-c @IP|HOST Connect to a Glances server by IPv4/IPv6 address or hostname
-C FILE Path to the configuration file
-d Disable disk I/O module
-e Enable sensors module
-f FILE Set the HTML output folder or CSV file
-h Display the help and exit
-m Disable mount module
-n Disable network module
-o OUTPUT Define additional output (available: HTML or CSV)
-p PORT Define the client/server TCP port (default: 61209)
-P PASSWORD Define a client/server password
--password Define a client/server password from the prompt
-r Disable process list
-s Run Glances in server mode
-t SECONDS Set refresh time in seconds (default: 3 sec)
-v Display the version and exit
-y Enable hddtemp module
-z Do not use the bold color attribute
-1 Start Glances in per CPU mode



Linux运维的自我修养-ywliyq

  • 技术交流,请加QQ群:256172681

  • 给我写信:ywliyq@163.com

  • 我的技术博客:http://ywliyq.blog.51cto.com/


本文转自    蜗牛远途   51CTO博客,原文链接:http://blog.51cto.com/ywliyq/1789977
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值