Write a utility to monitor system resource utilization and trigger alerts based on dynamic thresholds.