glances — linux 系统资源监控

部署

系统:centos7 

wget http://mirrors.aliyun.com/repo/Centos-7.repo

mv Centos-7.repo /etc/yum.repos.d/
yum clean all
yum repolist all
yum install -y epel-release
yum clean all
yum repolist all

yum install glances

yum install python-pip

pip install --upgrade pip

pip install bottle batinfo

pip install bottle batinfo https://bitbucket.org/gleb_zhulik/py3sensors/get/tip.tar.gz netifaces pymdstat influxdb potsdb statsd pystache docker-py pysnmp pika py-cpuinfo

 使用

每个机器上都部署 以 server 模式运行,server 模式 默认端口 61209 ,web UI 模式 默认端口 61208

glances -s -B 192.168.162.6 &
glances -c 192.168.162.63

192.168.162.63:61208

192.168.162.6:61208

注意:防火墙开放 上面两个默认端口

https://www.cnblogs.com/anay/p/8994870.html#_label1

https://www.jianshu.com/p/799e8ccbe15f

https://blog.csdn.net/sbdx/article/details/80534790

posted @ 2020-01-08 17:13  大漠垂杨  阅读(196)  评论(0编辑  收藏  举报