Commit Graph

6 Commits

Author SHA1 Message Date
imlonghao
547df7a40a feat: 启动时输出监控的文件夹和网卡名 2025-08-02 10:48:26 +08:00
imlonghao
be8f492997 feat: 完善本地接口网卡过滤 2025-08-01 21:35:44 +08:00
Akizon77
4704d0daa8 feat: https://github.com/komari-monitor/komari/issues/94 流量按月统计 2025-07-20 07:54:04 +00:00
akizon77
a8ada8203d deps: 更新 gopsutil 依赖至 v4 版本 2025-07-16 19:20:52 +08:00
Akizon77
b18f79bf4e feat: 添加网络接口包含和排除选项 2025-07-03 14:01:57 +08:00
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