Comments (19)
可以,修改这里重新编译即可 @VV-1024
ServerStatus-Rust/client/src/status.rs
Line 27 in a16aca3
from serverstatus-rust.
啊这,我不会重新编译,还有更简单一点的方法吗,我看见你这个都是打包好的,或者能直接修改吗
from serverstatus-rust.
不能直接修改,或者你可以改python版,不用重新编译
ServerStatus-Rust/client/client-linux.py
Line 18 in a16aca3
from serverstatus-rust.
@VV-1024 重新编译的步骤
curl https://sh.rustup.rs -sSf | sh
git clone https://github.com/zdz/ServerStatus-Rust.git
cd ServerStatus-Rust
yum install -y openssl-devel
cargo build --release
编译好的文件目录 target/release
from serverstatus-rust.
感谢大佬,我试一下
from serverstatus-rust.
为什么我编译出来的变得好大,好像也启动不了,文件足足有7MB
from serverstatus-rust.
无法运行好像是文件没权限,解决了
from serverstatus-rust.
为什么我编译出来的变得好大,好像也启动不了,文件足足有7MB
@VV-1024 这是因为github action编译打包时用upx压缩处理过的,你也可以在你的github库里打个tag,如v1.3.2,来触发用 github action 来编译打包
from serverstatus-rust.
只是文件上大小有区别的吗?性能什么不影响的话就不管了,但是ping值改了之后似乎也不是很好用
from serverstatus-rust.
from serverstatus-rust.
不影响性能,这个如何定义好用?这个只是给你提供你vps到目标地址一种网络延时度量的参考
from serverstatus-rust.
懂了,刚刚测了一下路由,azhk联通也绕道日本去了,怪不得ping不对劲
from serverstatus-rust.
离线通知应该怎么改才能显示备注的那个名字呢,显示用户名不太好区分
from serverstatus-rust.
看不太懂那个文件😢
from serverstatus-rust.
目前写死在代码里面了,后面我改个版本支持一下
你也可以改这里,name 改为 alias,重编一下也可以
from serverstatus-rust.
好的,我重新再编译一个版本
from serverstatus-rust.
from serverstatus-rust.
自己定制得不错,欢迎DIY 👍
from serverstatus-rust.
https://github.com/zdz/ServerStatus-Rust/releases/tag/v1.3.2
from serverstatus-rust.
Related Issues (20)
- 联通的延迟都变成了1000ms HOT 4
- 自动脚本有bug, -i -s [错误] Status Server 启动失败!, -i -c 也是失败,不会自动创建文件夹 HOT 15
- 必须重启机器才能更新配置文件吗
- 建议记录掉线主机的流量数据
- rust client windows 获取硬盘容量有问题 HOT 5
- Mac 上流量获取有亿点点问题
- 客户度启动不了 debian11 HOT 1
- 发现debian11 客户端不行的原因了! HOT 1
- tgbot 通知成功不了! HOT 3
- -n, --vnstat 开启之后.面板中总流量不是实时更新. 需要手动重启之后才会更新 HOT 2
- 请问大佬,cpu超过80%怎么设置告警,我看只有内存和硬盘
- **联通的测试网站down了 HOT 3
- 关于cloudflare tunnel grpc 传入 HOT 1
- client能否提供 docker 部署方式;部署方式中 config部署略微麻烦,能否优化下呢 HOT 2
- tgbot支持多个chat_id HOT 2
- 终于在heroku上部署成功了 HOT 3
- [enhancement]有无大佬搞搞服务端API,和netdata兼容 HOT 4
- 请问是否有当前版本的主题源码 HOT 1
- 错误识别IPv6协议 HOT 2
- 国内双栈服务器只显示 IPv6 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverstatus-rust.