centos6.6 安装 glances
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos6.6 安装 glances相关的知识,希望对你有一定的参考价值。
环境:
[[email protected] ~]# cat /etc/redhat-release
CentOS release 6.6 (Final)
[[email protected] ~]# uname -r
2.6.32-504.el6.x86_64
[[email protected] ~]# 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
效果如下:
查看帮助信息:
# 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
给我写信:[email protected]
我的技术博客:http://ywliyq.blog.51cto.com/
本文出自 “Linux运维的自我修养” 博客,请务必保留此出处http://ywliyq.blog.51cto.com/11433965/1789977
以上是关于centos6.6 安装 glances的主要内容,如果未能解决你的问题,请参考以下文章