diff --git a/Cargo.lock b/Cargo.lock index 3bfde2fb..db204b35 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1750,7 +1750,7 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "stat_client" -version = "1.5.4" +version = "1.5.5" dependencies = [ "anyhow", "bytes", @@ -1790,7 +1790,7 @@ dependencies = [ [[package]] name = "stat_server" -version = "1.5.4" +version = "1.5.5" dependencies = [ "anyhow", "bytes", diff --git a/README.md b/README.md index b40b95f3..6c1ccf07 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ - 使用 `rust` 完全重写 `server`、`client`,单个执行文件部署 - 支持上下线和简单自定义规则告警 (`telegram`、 `wechat`、 `email`、 `webhook`) -- 支持 `http` 协议上报,可配合 `cf` 等优化上报链路 +- 支持 `http` 协议上报,可以方便部署到各免费容器服务和配合 `cf` 等优化上报链路 - 支持 `vnstat` 统计月流量,重启不丢流量数据 - 支持 `railway` 快速部署 - 支持 `systemd` 开机自启 @@ -143,7 +143,7 @@ help: ### 2.4 Railway 部署 懒得配置 `Nginx`,`SSL` 证书?试试 -[在 Railway 部署 Server 教程](https://github.com/zdz/ServerStatus-Rust/wiki/Railway) +[在 Railway 部署 Server](https://github.com/zdz/ServerStatus-Rust/wiki/Railway) [![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/kzT46l?referralCode=pJYbdU) @@ -289,6 +289,9 @@ OPTIONS: -w, --weight # 排序加分,微调让主机靠前显示,无强迫症可忽略 -g, --gid # 动态注册的组id --alias # 动态注册模式下,指定主机的展示名字 +# 总流量,网卡流量/网速统计 +-i, --iface # 非空时,只统计指定网口 +-e, --exclude-iface # 排除指定网口,默认排除 "lo,docker,vnet,veth,vmbr,kube,br-" ``` ### 4.2 跨平台版本 (`Window`, `Linux`, `...`) diff --git a/client/Cargo.toml b/client/Cargo.toml index a425a1ee..bdc6b5fa 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "stat_client" -version = "1.5.4" +version = "1.5.5" rust-version = "1.62" diff --git a/server/Cargo.toml b/server/Cargo.toml index b4f9c587..79bcbaad 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "stat_server" -version = "1.5.4" +version = "1.5.5" rust-version = "1.62"