CPU performance are measured over time instead.

Have reworked the check so it does CPU check over time instead of a point-in-time check for the reason not to get alerts when a CPU is spiking at 100% for a few seconds.
Also simplified the script and removed AIX support.