# LoadingStatus **Repository Path**: lutery/loading-status ## Basic Information - **Project Name**: LoadingStatus - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-12 - **Last Updated**: 2025-03-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # System Monitor 一个悬浮式系统监控工具,可以实时显示CPU、内存、GPU、磁盘使用率和温度。 ## 功能 - 实时显示CPU使用率和温度 - 实时显示内存使用率 - 实时显示GPU使用率和温度 - 实时显示磁盘使用率 - 点击CPU、GPU、磁盘区域可查看详细信息: - CPU:显示每个核心的负载情况 - GPU:显示每个GPU的负载和温度情况 - 磁盘:显示每个磁盘的活动率、空间使用情况和读写速度 - 半透明悬浮窗口 - 可以用鼠标拖动位置 - 右键菜单可以隐藏窗口或退出程序 - 系统托盘图标,左键点击可以切换显示/隐藏,右键点击显示菜单 ## System Monitor Features ### Current Features 1. **Hover-Based Detail Window**: - Displays detailed information when hovering over CPU, GPU, or DISK components. - The detail window appears automatically below the component being hovered over and disappears when the mouse moves away. 2. **Right-Click Menu**: - Accessed by right-clicking anywhere on the main window. - Includes options for: - Font Size (Small, Medium, Large, Extra Large) - Auto Scale Font toggle - Opacity settings (100%, 80%, 60%, 40%) - Hide/Show and Exit options. 3. **System Tray Integration**: - Minimizes to the system tray. - Left-click on the tray icon to show/hide the window. - Right-click on the tray icon for a simplified menu with Show/Hide and Exit options. 4. **Main Window Functionality**: - Drag the window by clicking and holding anywhere on it. - Resize the window by dragging the bottom-right corner. - Adjust opacity with keyboard shortcuts (Up/Down arrows). - Adjust font size with keyboard shortcuts (+/- keys). ### Future Improvements - Consider implementing more accurate monitoring for GPU and disk I/O in future versions, possibly using specific APIs for hardware. - Explore additional metrics to monitor and display for enhanced system insights. - Improve UI/UX for better user interaction and experience. ## 构建方法 ### 使用CMake + MSVC构建(Windows环境) 1. 确保已安装以下软件: - Visual Studio(带有C++开发组件) - CMake (3.10或更高版本) 2. 打开开发者命令提示符(Developer Command Prompt for VS) 3. 创建build目录: ``` mkdir build cd build ``` 4. 配置CMake项目: ``` cmake .. -G "Visual Studio 17 2022" -A x64 ``` 注意:根据你的Visual Studio版本,可能需要修改生成器名称(例如"Visual Studio 16 2019") 5. 构建项目: ``` cmake --build . --config Release ``` 6. 运行程序: ``` .\Release\SystemMonitor.exe ``` ## 注意事项 - 本程序需要管理员权限才能正确获取系统信息 - 温度监控功能需要硬件支持,当前版本使用模拟数据 - GPU监控功能需要硬件支持,当前版本使用模拟数据 - 磁盘I/O速率监控当前使用模拟数据,未来版本将使用实际数据 ## 未来改进 - 添加更精确的温度监控(使用OpenHardwareMonitor或类似库) - 添加更精确的GPU使用率监控(使用NVIDIA/AMD专用API) - 添加更精确的磁盘I/O监控 - 添加自定义颜色和主题 - 添加更多系统信息显示选项 - 添加历史数据图表显示