首页 > 系统服务 > 详细

Linux系统监控实用工具Glances

时间:2014-05-06 09:24:03      阅读:591      评论:0      收藏:0      [点我收藏+]

Linux系统监控实用工具Glances

  • Glances安装

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

    1、第一步,安装了python->2.6
  • 2、第二步,安装了psutil->0.4.1
  • #tar -zxvf psutil.包。
  • #cd psutil包
  • #python setup.py install
  • 3、第三步,安装glances 
  • #tar -zxvf glances.包
  • # 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

bubuko.com,布布扣

Linux系统监控实用工具Glances,布布扣,bubuko.com

Linux系统监控实用工具Glances

原文:http://www.cnblogs.com/jinjiangongzuoshi/p/3708245.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!