linux-monitor

Crates.iolinux-monitor
lib.rslinux-monitor
version0.2.7
sourcesrc
created_at2022-08-18 03:46:20.047577
updated_at2022-09-13 09:40:46.045248
descriptionA lightweight Linux monitoring tool, need to be used with api-server.
homepage
repositoryhttps://gitee.com/seeker_rs/linux-monitor/tree/master/linux-monitor
max_upload_size
id647957
size58,796
(womeng2009)

documentation

https://docs.rs/crate/linux-monitor/0.2.7

README

Linux Monitor

1.start api-server

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

2.install linux-monitor

cargo install linux-monitor

or

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

3.run

# 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 <SERVER>

OPTIONS:
    -g, --group <GROUP>      The group name of the current node, used for grouping all monitored
                             nodes [default: dev]
    -h, --help               Print help information
    -p, --port <PORT>        Api server port [default: 8080]
    -s, --server <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

Commit count: 0

cargo fmt