a simple task manager like project to test my skills
Find a file
2025-11-15 01:34:51 +01:00
includes/nlohmann feat: read json files 2025-10-24 15:28:30 +02:00
src feat: add zen browser 2025-11-15 01:34:51 +01:00
.gitignore feat: implement file logging 2025-10-25 14:33:42 +02:00
CMakeLists.txt feat: add getCPUUsage function 2025-10-24 22:35:43 +02:00
config.json improve: history formattting 2025-11-12 20:06:19 +01:00
README.md update readme 2025-10-25 19:25:13 +02:00

System monitor

a simpler version of a task manager in cli form, it simply loads the thresholds for cpu & ram usage and process count from a json, then gets those values from the system and checks if they are above the thresholds


Note:

This utility is Windows only as most of my knowledge about OS' is from Windows when it comes to the programming side

Build & Run

Requirements:

  • Windows 10/11
  • C++ 17+ compatible compiler (MSVC, GCC, or Clang)
  • CMake 3.20+
cmake -S . -B build
cmake --build build

../Debug/system-monitor.exe

## or in release
cmake --build build --config release
../Release/system-monitor.exe

Example ouput

[19:24:46] ALERT: Process count at: 479 (threshold: 400)
[19:24:48] ALERT: CPU usage at: 97.538948% (threshold: 90.000000%)
[19:24:48] ALERT: RAM usage at: 28241MB (threshold: 8192MB)