Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
20ebc26f
G
glances
项目概览
蜕变的菜鸟
/
glances
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
glances
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
20ebc26f
编写于
4月 03, 2012
作者:
N
nicolargo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
README
上级
d5d40d8b
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
31 addition
and
35 deletion
+31
-35
README.md
README.md
+31
-35
未找到文件。
README.md
浏览文件 @
20ebc26f
...
@@ -6,68 +6,64 @@ Glances -- Eye on your system
...
@@ -6,68 +6,64 @@ Glances -- Eye on your system
## Description
## Description
Glances is a CLI curses based monitoring tool for GNU/Linux
or
BSD OS.
Glances is a CLI curses based monitoring tool for GNU/Linux
and
BSD OS.
Glances uses the libstatgrab library to get information from your system.
Glances uses the PsUtil library to get information from your system.
It is developed in Python and uses the python-statgrab lib.
It is developed in Python.
![
screenshot
](
https://github.com/nicolargo/glances/raw/master/screenshot.png
)
![
screenshot
](
https://github.com/nicolargo/glances/raw/master/screenshot.png
)
## Installation
## Installation
### From package manager
### From package manager (very easy way)
Packages exist for Arch, Fedora, Redhat, FreeBSD...
### From PPA (easy way for Ubuntu/Mint...)
Arnaud Hartmann (thanks to him !) maintains a PPA with the latest Glances version:
To install the PPA just enter:
$ sudo add-apt-repository ppa:arnaud-hartmann/glances-dev
$ sudo apt-get update
Packages exist for Arch, Fedora, Redhat ...
Then install Glances:
### From PPA (Ubuntu/Mint)
$ sudo apt-get install glances
Thanks to Arnaud Hartmann, a PPA is available for the stable branch.
### From PyPi (easy way)
To install it on your Ubuntu system:
PyPi is an official Python package manager.
$ sudo add-apt-repository ppa:arnaud-hartmann/glances-stable
You first need to install pypi on your system. For exemple on Debian/Ubuntu:
$ sudo apt-get update
$ sudo apt-get install glances
The PPA is available for Ubuntu version 9.10 to 12.04.
$ sudo apt-get install python-pip
Then install the latest Glances version:
$ sudo pip install glances
### From source
### From source
Get the latest version:
Get the latest version:
$ wget https://github.com/downloads/nicolargo/glances/glances-1.
3.7
.tar.gz
$ wget https://github.com/downloads/nicolargo/glances/glances-1.
4
.tar.gz
Glances use a standard GNU style installer:
Glances use a standard GNU style installer:
$ tar zxvf glances-1.3.7.tar.gz
$ tar zxvf glances-1.4.tar.gz
$ cd glances-1.3.7
$ cd glances-1.4
$ ./configure
$ sudo python setup.py install
$ make
$ sudo make install
Pre-requisites:
Pre-requisites:
*
Python 2.6+ (not tested with Python 3+)
*
Python 2.6+ (not tested with Python 3+)
*
python-statgrab 0.5+ (did NOT work with python-statgrab 0.4)
Notes: For Debian.
The Debian Squeeze repos only include the python-statgrab 0.4.
You had to install the version 0.5 using the following commands:
$ sudo apt-get install libstatgrab-dev pkg-config python-dev make
$ wget http://ftp.uk.i-scream.org/sites/ftp.i-scream.org/pub/i-scream/pystatgrab/pystatgrab-0.5.tar.gz
$ tar zxvf pystatgrab-0.5.tar.gz
$ cd pystatgrab-0.5/
$ ./setup.py build
$ sudo ./setup.py install
Notes: For Ubuntu 10.04 and 10.10.
The instruction to install the version 0.5 are here:
https://github.com/nicolargo/glances/issues/5#issuecomment-3033194
## Running
## Running
Easy:
Easy
way (that's all folks !)
:
$ glances.py
$ glances.py
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录