Linux Monitor

1.start api-server

shell docker run -d --name monitor-api-server -p 8080:8080 seekerman/monitor-api-server:latest

2.install linux-monitor

shell cargo install linux-monitor or ```shell

CentOS

wget https://gitee.com/seeker_rs/linux-monitor/releases/download/release-0.2.6/linux-monitor-CentOS.zip

Ubuntu

wget https://gitee.com/seeker_rs/linux-monitor/releases/download/release-0.2.6/linux-monitor-Ubuntu.zip ```

3.run

```shell

show help

linux-monitor -h

output

linux-monitor 0.2.0 Seeker womeng209@qq.com A lightweight Linux monitoring tool, need to be used with api-server

USAGE: linux-monitor [OPTIONS] --server

OPTIONS: -g, --group The group name of the current node, used for grouping all monitored nodes [default: dev] -h, --help Print help information -p, --port Api server port [default: 8080] -s, --server Api server IP address -V, --version Print version information

run

-s: server-api ip

linux-monitor -s 192.168.1.1 -g dev-server ```

4.view monitor

replace api-server-ip to your real ip

http://api-server-ip:8080