增加 Glances 工具说明.
Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
parent
e085b6a995
commit
637294418b
|
@ -59,7 +59,41 @@ iostat
|
|||
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
|
||||
dstat
|
||||
|
|
Loading…
Reference in New Issue