系統(tǒng)之家 - 系統(tǒng)光盤下載網(wǎng)站!

當(dāng)前位置:系統(tǒng)之家 > 系統(tǒng)教程 > Linux安裝及使用Glances

Linux如何安裝及使用Glances

時間:2015-03-19 17:59:01 作者:qipeng 來源:系統(tǒng)之家 1. 掃描二維碼隨時看資訊 2. 請使用手機瀏覽器訪問: https://m.xitongzhijia.net/xtjc/20150319/42077.html 手機查看 評論

  Glances是Linux下的監(jiān)控工具,能夠?qū)inux系統(tǒng)的性能及使用情況進行監(jiān)控,安裝完Glances,就可以使用Glances命令進行相關(guān)監(jiān)控了,下面小編就給大家詳細介紹下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搭配上各種參數(shù)能夠?qū)崿F(xiàn)Linux監(jiān)控的不同功能,詳細查看負載、內(nèi)存等信息。

標(biāo)簽 監(jiān)控工具

發(fā)表評論

0

沒有更多評論了

評論就這些咯,讓大家也知道你的獨特見解

立即評論

以上留言僅代表用戶個人觀點,不代表系統(tǒng)之家立場

其他版本軟件

熱門教程

人氣教程排行

Linux系統(tǒng)推薦

官方交流群 軟件收錄