增加 Glances 工具说明.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-12-10 10:48:38 +08:00
parent e085b6a995
commit 637294418b
1 changed files with 35 additions and 1 deletions

View File

@ -59,7 +59,41 @@ iostat
sar sar
``` ```
## 5.Others ## 5.Glances
```bash
pacman -S glances
```
### 5.1.Standalone Mode
```bash
glances
```
### 5.2.Client/Server Mode
```bash
# Server
glances -s [-B <address>] [-p <port>]
# Client
glances -c <server ip or hostname> [-p <port>]
```
### 5.3.Web Server Mode
```bash
pacman -S python-bottle
glances -s [-B <address>] [-p <port>] [--username] [--password]
```
To change the refresh rate of the page, just add the period in seconds at the end of the URL. For example, to refresh the page every 10 seconds
```blk
http://@server:61208/10
```
## 6.Others
```bash ```bash
dstat dstat