A lightweight, multi-threaded Java system utility designed to track and display real-time hardware performance metrics via a borderless, semi-transparent gaming overlay.
- Real-Time Overlay: Borderless, semi-transparent GUI that always stays on top (ideal for gaming).
- Native OS Hooks: Utilizes the OSHI library to interface directly with Windows Native APIs.
- Zero-Overhead Daemon: Implements Java Concurrency
ScheduledExecutorServicefor a near-zero resource footprint background polling loop. - Dynamic GPU Tracking: Bypasses traditional single-shot WMI constraints by running persistent background daemon threads that parse
typeperf(Windows Performance Counters) andnvidia-smikernel streams to calculate live GPU Utilization and VRAM usage. - Hardware Bug Bypasses: Implements custom heuristic string parsing to overcome Windows WMI 32-bit integer overflow limits on GPUs with > 4GB of VRAM.
This project uses Maven. To compile the code into a native Windows executable (.exe):
mvn clean packageThe resulting executable will be located at target/HardwareMonitor.exe.
Note on Security: Due to strict Microsoft Kernel security limits preventing user-mode applications from reading hardware thermal zones, the embedded Windows Manifest explicitly requests
requireAdministratorexecution level. Running the.exewill prompt for UAC permission.
- Language: Java 11
- Build Tool: Maven (Maven Shade Plugin, Launch4j)
- Libraries: OSHI Core, SLF4J, JNA
- OS APIs: WMI, PDH (typeperf), NVAPI (nvidia-smi)