Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
蜕变的菜鸟
glances
提交
f6f69d47
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,发现更多精彩内容 >>
提交
f6f69d47
编写于
3月 14, 2012
作者:
N
nicolargo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update documentation: use setup.py for installation
上级
6be9ae0c
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
38 addition
and
58 deletion
+38
-58
NEWS
NEWS
+1
-0
README
README
+2
-12
README-fr
README-fr
+32
-33
README.md
README.md
+2
-12
TODO
TODO
+1
-1
未找到文件。
NEWS
浏览文件 @
f6f69d47
...
...
@@ -2,6 +2,7 @@ Version 1.4
===========
* Goodby StatGrab... Welcome to the PsUtil library !
* No more autotools, use setup.py to install
* Sort by Process name ('p' key)
* Only major stats (CPU, Load and memory) use background colors
* Improve operating system name
...
...
README
浏览文件 @
f6f69d47
...
...
@@ -55,25 +55,15 @@ Glances use a standard GNU style installer:
$ tar zxvf glances-1.4.tar.gz
$ cd glances-1.4
$ ./configure
$ make
$ sudo make install
$ sudo python setup.py install
Pre-requisites:
* Python 2.6+ (not tested with Python 3+)
* psutil 0.4.1+ (did NOT work with psutil < 0.2 )
Notes: For Debian and Ubuntu < 12.04
The officials repos only include the psutil version 0.2.1.
You had to install the version 0.4.1 using the following commands:
$ sudo apt-get install python-dev python-pip
$ sudo pip install --upgrade psutil
## Running
Easy:
Easy
way (that's all folks !)
:
$ glances.py
...
...
README-fr
浏览文件 @
f6f69d47
...
...
@@ -20,6 +20,32 @@ Le processus de packaging est actuellement en cours sur d'autres distribs, je
vous conseille donc de rechercher Glances sur votre gestionnaire de package
avant de faire une installation depuis les sources.
### Depuis le PPA (pour les systèmes Ubuntu/Mint...)
Arnaud Hartmann (thanks to him !) maintient un PPA avec la dernière version:
Pour installer le PPA:
$ sudo add-apt-repository ppa:arnaud-hartmann/glances-dev
$ sudo apt-get update
Pour installer Glances à partir de ce PPA:
$ sudo apt-get install glances
### Depuis PyPi
PyPi est un gestionnaire officiel des paquets Python.
Il est disponible sous la plupart des distibutions GNU/Linux.
On commence par installer PyPi sur son système (par exemple Debian/Ubuntu):
$ sudo apt-get install python-pip
Puis on installe la dernière version de Glances:
$ sudo pip install glances
### Depuis les sources
Le projet Glances est hébergé sur GitHUB: https://github.com/nicolargo/glances
...
...
@@ -27,47 +53,20 @@ Le projet Glances est hébergé sur GitHUB: https://github.com/nicolargo/glances
Pour l'installer, il suffit de suivre les instructions suivantes depuis un
terminal.
Récupération de la dernière version (1.
3.7
):
Récupération de la dernière version (1.
4
):
$ 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
Procédez ensuite à l'installation:
$ tar zxvf glances-1.3.7.tar.gz
$ cd glances-1.3.7
$ ./configure
$ make
$ sudo make install
$ tar zxvf glances-1.4.tar.gz
$ cd glances-1.4
$ sudo python setup.py install
Glances a besoin des dépendances suivantes:
* Python 2.6+ (non testé avec Python 3+)
* libstatgrab 0.16+
* python-statgrab 0.5+ (ne marchera PAS avec python-statgrab 0.4)
Notes specifiques pour une installation sous Debian 6.
Debian Squeeze met à disposition la version 0.4 de python-statgrab.
Il faut donc installer la version 0.5 à la main:
$ 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 specifiques pour une installation sous Ubuntu 10.04 et 10.10.
Ces versions d'Ubuntu mettent à disposition la version 0.4 de python-statgrab.
Il faut donc installer la version 0.5 à la main:
$ sudo apt-get update
$ sudo apt-get install pkg-config build-essential autoconf automake python libstatgrab-dev python-all-dev
$ sudo apt-get remove python-statgrab
$ 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
## Lancement de Glances
...
...
README.md
浏览文件 @
f6f69d47
...
...
@@ -55,25 +55,15 @@ Glances use a standard GNU style installer:
$ tar zxvf glances-1.4.tar.gz
$ cd glances-1.4
$ ./configure
$ make
$ sudo make install
$ sudo python setup.py install
Pre-requisites:
*
Python 2.6+ (not tested with Python 3+)
*
psutil 0.4.1+ (did NOT work with psutil < 0.2 )
Notes: For Debian and Ubuntu < 12.04
The officials repos only include the psutil version 0.2.1.
You had to install the version 0.4.1 using the following commands:
$ sudo apt-get install python-dev python-pip
$ sudo pip install --upgrade psutil
## Running
Easy:
Easy
way (that's all folks !)
:
$ glances.py
...
...
TODO
浏览文件 @
f6f69d47
- Packaging for
.deb (Debian|Ubuntu|Mint) Linux distributions
(contributors needed)
- Packaging for
Debian
(contributors needed)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录