Commit Graph

4 Commits

Author SHA1 Message Date
yyhuni
1b6bf8cfcf 更新拉取策略为--pull=missing
增加文档
fix: bug统一字符处理
2025-12-17 10:40:37 +08:00
yyhuni
012cb72e97 固定版本号,防止滚动版本导致旧版本出问题 2025-12-15 11:47:06 +08:00
yyhuni
12cc5f04d3 Fix CPU usage calculation to use delta sampling instead of cumulative values
- Replace single-sample CPU calculation with two-sample delta method
- Add 0.5 second sleep between CPU stat samples to calculate actual usage
- Parse all 7 CPU time fields (user, nice, sys, idle, iowait, irq, softirq) from /proc/stat
- Calculate CPU percentage as (1 - idle_diff/total_diff) * 100
- Add zero division protection when total_diff is 0
- Fix incorrect CPU usage reporting caused by using cumulative stat values
2025-12-12 20:19:51 +08:00
yyhuni
5070c55616 Initial commit: Xingrin v1.0.0 2025-12-12 18:04:57 +08:00