Use this Knowledge Script to generate a detailed report about CPU usage and queue length. Using this report, you can aggregate the data by minute, hour, or day, and calculate statistics for each period, for example, the average value per hour.
This report uses data collected by the CpuLoaded script.
Report agent
The default schedule for this script is Run once.
Set the following parameters as needed:
Description |
How to Set It |
---|---|
Data source |
|
Select computer(s) |
Select the computers whose data you want to include in your report. |
Select the style |
Select the style for the first page of your report:
The default is By computer. |
Select time range |
Select a Specific or Sliding date/time range from which the report should pull data. The default is Sliding. |
Select peak weekday(s) |
Select the days of the week to include in your report. The default is every day of the week. |
Aggregation by |
Select the time period by which the data in your report is presented. Select Minute, Hour, or Day. The default is Hour. |
Aggregation interval |
Specify the intervals to use to aggregate the data in the report. You can specify 1-5, 7, 8, 10, 12, 14, 15, 24, 28, 30, 60, or 90. The default is 1. |
Statistics to show per period |
Select a statistical method by which to display data in your report:
The default is Average. |
Report settings |
|
Include parameter help card? |
Set to yes to include a table in the report that lists parameter settings for the report script. The default is yes. |
Include table/chart/both? |
Specify whether to include a Table or Chart of datastream values in the report, or choose Both. The default is Table. |
Select chart style |
Select the graphic properties for the charts in your report. The default chart style is Bar. |
Select output folder |
Select the parameters for your report’s output folder. The default folder name is NT_CPULoad. |
Add job ID to output folder name? |
Set to y to append the job ID to the name of the output folder. The default is n. The job ID helps you correlate a specific instance of a Report script with the corresponding report. |
Select properties |
Provide a name for the report and set any other report parameters. The default title for your report is NT CPU Load. |
Add time stamp to title? |
Set to y to append a time stamp to the title of the report, making each title unique. The default is n. The time stamp is made up of the date and time the report was generated. A time stamp allows you to run consecutive iterations of the same report without overwriting previous output. |
Event notification |
|
Event for report success? |
Set to yes to raise an event if the report is successfully generated. The default is yes. |
Event severity level for report success |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which a report is generated successfully. The default is 35 (magenta event indicator). |
Event severity level for report with no data |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which a generated report contains no data. The default is 25 (blue event indicator). |
Event severity level for report failure |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which report generation fails. The default is 5 (red event indicator). |