Glances是Linux下的監(jiān)控工具,能夠?qū)inux系統(tǒng)的性能及使用情況進(jìn)行監(jiān)控,安裝完Glances,就可以使用Glances命令進(jìn)行相關(guān)監(jiān)控了,下面小編就給大家詳細(xì)介紹下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)控的不同功能,詳細(xì)查看負(fù)載、內(nèi)存等信息 。
推薦閱讀
- Linux/Ubuntu 11.10如何搭建Android4.0.3開發(fā)環(huán)境
- 在CentOS上安裝EVA QQ的步驟
- Oracle Linux 5遠(yuǎn)程telnet時提示Unencrypted connection怎么辦?
- 如何給別人手機(jī)定位跟蹤 手機(jī)自帶定位怎么使用跟蹤
- 如何查詢他人通話記錄,怎樣監(jiān)視別人通話內(nèi)容?
- 海馬體如何在公眾號看照片
- 手機(jī)如何實(shí)行跟蹤定位 家人手機(jī)怎么定位跟蹤
- 如何秘密定位他人位置 如何手機(jī)定位一個人的位置
- 如何給對方手機(jī)定位跟蹤 怎么給手機(jī)定位跟蹤
- 貓咪撓人咬人如何教育它
