This C program verifies whether a system meets specific requirements for memory usage, CPU usage, and disk space. It collects system information, compares it against predefined thresholds, and generates a report.
- Verifies memory usage against a threshold
- Verifies CPU usage against a threshold
- Verifies disk space usage against a threshold
- Generates a simple report
- Linux-based OS (for
free
,/proc/stat
, anddf
commands)
- Clone the repository.
- Run
make
to compile the program. - Run the tool with
./bin/sys_verification_tool
.
You can modify the thresholds for memory, CPU, and disk usage directly in the main.c
file.