Commit Graph

5 Commits

Author SHA1 Message Date
Akizon77
e34367de69 Refactor monitoring package: remove platform-specific files and consolidate OS detection and process counting logic
- Deleted os_windows.go and process_windows.go, replacing them with platform-agnostic implementations in unit directory.
- Removed Linux-specific process counting logic from process_linux.go and integrated it into unit.
- Consolidated uptime and OS name retrieval into unit files for better organization.
- Updated update mechanism to use global variables for current version and repository.
- Introduced command-line flags for configuration, including disabling auto-update and web SSH.
- Implemented WebSocket connection handling and terminal interaction for both Unix and Windows systems.
- Added basic info upload functionality to server package, enhancing monitoring capabilities.
2025-05-16 19:56:22 +08:00
Akizon77
180586d8aa fix: #3 修改CPU名称识别的逻辑 2025-05-06 21:08:38 +08:00
Akizon77
79d1760163 feat: 自动发布realease 2025-04-29 20:57:23 +08:00
Akizon77
f785c0044c feat(monitoring): 增加网络总量和进程计数监控
- 在 net.go 中添加总量统计功能,记录上次采样值
- 在 main.go 中添加进程计数监控
- 修改 remote.go 中的 JSON 字段名称
- 优化 report 函数,增加网络总量和进程计数数据
2025-04-12 22:50:56 +08:00
Akizon77
c2a9148d4c init 2025-04-11 17:26:34 +08:00