CPU and memory
Product Name: CPU and memory
Description : This agent procedure will help you to look into which applications are causing high CPU and memory utilization.
1. Download the attached zipped file and extract it. You will find 2 files under the zipped file.
2. Import the XML file using import procedure option under Agent Procedure module.
3. Upload the .ps1 (PowerShell) file under VSAsharedfiles.
4. Run the procedure on any machine. You will get the output as a text file which you can download from getfile.
5. This procedure will work best if you use it with a CPU or Memory monitor set.
How to monitor high CPU utilization process0
Yogeshwaran, You use this in conjunction with a monitor set. Create a new monitor set or use one of the existing prebuilt monitor sets to watch the CPU usage of the system. Set the threshold level & duration you want (eg. over 90% usage for 60 seconds) and set the action when this threshold is broken to run this agent procedure. This will capture all the processes currently running and how much CPU and memory they are using, so you can see what's causing the High CPU usage.0
But the Process details not showing the alert mail. I want to know which process consume more CPU usage.0
By Default the procedure uses the the "getFile" action to store the process information on the Kaseya server and associated with the particularly endpoint. When you receive the email alert, you need to open quick view for the agent indicated by the alert and go to the "Get File" section. The output of the script will be listed there. The Output will also be overwritten each time the script is run, so only the latest output is available.
If you wanted the process information available in an email as well, you would need to modify the procedure to send an email with the file contents, but this would be separate to the email generated by the monitor set. ie. Monitor set is triggered, sends email alert & Executes the procedure to capture the process list, procedure runs and emails the process list. So you end up with two email for the one alert.
As stated above though, you will need to modify the procedure to achieve this.0
can you guide me where I can upload the powershell script ? If you have PDF guide it's helpful0
I don't have a pdf guide, but the Help File on then "Manage Files" section of the "Schedule/Create" Agent Procedures menu should point you in the right direction.0