Note: Since the script has scheduled to run once for every 5 minutes  , you will be getting the email alert on 5 minutes interval, Say for example If your system reaches the given limit after  8.25 minutes  then you will be getting an email alert on the second cycle i.e after 10 minutes ( 2nd 5 minute cycle), Tags: Check CPU UsageCPU Usage AlertEmail AlertLinuxMonitor CPU UsageMonitor CPU utilizationprocess monitoringshell script, Your email address will not be published. Ubuntu and Debian: $ sudo apt-get install sysstat CentOS and Red Hat: # yum install sysstat Enable SNMP readonly community It monitors everything such as CPU utilization, Memory utilization, swap utilization, disk space utilization and much more. If you want to get CPU utilization percentage through mail alert when the system reaches the given threshold, use the following script. Use the link provided below to download the script. Monitorix got in-built HTTP so you can check the utilization and other stuff on the web. You may need to configure this script in scheduled task for continuous monitoring. Unable to capture other servers details. Finally add a cronjob to automate this. Powershell script to monitor CPU utilization and notify on a threshold breach Here is a simple powershell script which will take a list of servers as input, monitors CPU load and sends email notifications incase of threshold breach (which is set in script). # from multiple Linux servers and output the information on a single server # in html format. The 5 indicates that it should display every 5 seconds. Task. When I try. top -b -d 1|grep Cpu > file1.csv it doesn't deem to work as I'm not even able to view my file. Type nmon in the terminal and press enter, nmon will display a welcome screen with all the options to use it further. Pre-requirement 1. snmpwalk command (under Redhat/CentOS use snmp-utils package) On Target system (Work with Linux/MS Windows) 1. Command to check top CPU consuming process.