万象系统之家 - 系统光盘下载网站!

当前位置:万象系统之家 > 系统教程 > Linux安装及使用Glances

Linux如何安装及使用Glances

时间:2015-03-19 17:59:01 作者:qipeng 来源:万象系统之家 1. 扫描二维码随时看资讯 2. 请使用手机浏览器访问: https://m.xitongzhijia.net/xtjc/20150319/42077.html 手机查看 评论

  Glances是Linux下的监控工具,能够对Linux系统的性能及使用情况进行监控,安装完Glances,就可以使用Glances命令进行相关监控了,下面小编就给大家详细介绍下Linux安装和使用Glances的方法,感兴趣的朋友可以来了解下。

  Glances安装

  Glances安装要求:python 》= 2.6 和 psutil 》= 0.4.1

  # pip install psutil

  # pip install pysensors

  # pip install hddtemp

  # git clone https://github.com/nicolargo/glances.git

  # cd glances

  # python setup.py install

  Glances的使用

  # glances -h

  Glances version 1.7a with PsUtil 0.7.1

  Usage: glances [opt]

  with opt:

  -b Display network rate in Byte per second

  -B @IP|host Bind server to the given IP or host NAME

  -c @IP|host Connect to a Glances server

  -C file Path to the configuration file

  -d Disable disk I/O module

  -e Enable the sensors module (Linux-only)

  -f file Set the output folder (HTML) or file (CSV)

  -h Display the syntax and exit

  -m Disable mount module

  -n Disable network module

  -o output Define additional output (available: HTML or CSV)

  -p PORT Define the client or server TCP port (default: 61209)

  -P password Client/server password

  -r Do not list processes (significant CPU use reduction)

  -s Run Glances in server mode

  -t sec Set the refresh time in seconds (default: 3)

  -v Display the version and exit

  -y Enable the hddtemp module (needs running hddtemp daemon)

  -z Do not use the bold color attribute

  -1 Start Glances in per CPU mode

 Linux如何安装及使用Glances

  上面就是Linux安装使用Glances的方法介绍了,Glances搭配上各种参数能够实现Linux监控的不同功能,详细查看负载、内存等信息。

发表评论

0

没有更多评论了

评论就这些咯,让大家也知道你的独特见解

立即评论

以上留言仅代表用户个人观点,不代表万象系统之家立场

其他版本软件

热门教程

人气教程排行

Linux系统推荐

本站发布的系统仅为个人学习测试使用,请在下载后24小时内删除,不得用于任何商业用途,否则后果自负,请支持购买微软正版系统!

如侵犯到您的权益,请及时通知我们,我们会及时处理,对系统之家有任何投诉或建议,请与管理员联系. QQ:346231061

Copyright2024 万象系统之家(www.maxdo.tech) 版权所有 沪ICP备2021023961号-5