4.46 Report_CPULoad

Use this Knowledge Script to generate a detailed report about CPU usage. Using this report, you can aggregate the data by time period (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 Knowledge Script.

4.46.1 Resource Objects

Report Agent > AM Repositories > AppManager repository.

4.46.2 Default Schedule

The default schedule for this script is Run once.

4.46.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Data source

Use the following parameters to select the data for your report.

Select computer(s)

Click the Browse [...] button to start the data wizard. Use the data wizard to select the computers for your report.

Select the style

Select the style for the first page of your report:

  • By computer provides links to pages showing the data collected from individual computers (each page shows all the data streams collected from a single computer).

  • By data stream provides links to pages showing a side-by-side comparison of values for the same data stream collected from different computers (each page shows, for example, the value of the UNIX_CpuResource-All Threads(#) data stream from each computer).

  • By computer and data stream provides links to pages showing a single data stream collected from a computer.

  • All data streams on one page provides all the data streams on a single page.

The default is By computer.

Select time range

Click the Browse [...] button to start the time wizard. Use the time wizard to set a specific or sliding time range for data included in your report. The default is 1 day sliding time ending at the current time.

Select peak weekday(s)

Click the Browse [...] button to start the day wizard. Use the day wizard to select the days of the week to include in your report. The default is seven days: Sunday through Saturday.

Aggregation by

Specify how you want to aggregate the data in your report. You can specify Minute, Hour, or Day. The default is Hour.

Aggregation interval

Specify the intervals you want to use to aggregate the data in your 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:

  • Average. The average value of data points for the aggregation interval (for example, the average value for 1 Hour).

  • Minimum. The minimum value of data points for the aggregation interval.

  • Maximum. The maximum value of data points for the aggregation interval.

  • Count. The number of data points for the aggregation interval.

  • Sum. The total value of data points for the aggregation interval.

  • 3Sigma. The average + (3 * standard deviation) and average - (3 * standard deviation).

  • Std. The standard deviation. The measure of how widely values are dispersed from the mean.

  • Box. Lower fence, 25% point, median, 75% point, and upper fence for the aggregation interval.

  • Open. The first value for the aggregation interval.

  • Close. The last value for the aggregation interval.

The default is Average.

Report settings

Use the following parameters to define the graphical presentation of data, the folder where the report is generated, and properties that identify the report.

Include parameter help card? (yes/no)

Specify whether you want to include a table in the report that lists parameter settings for the report script. By default, the table is included.

Include table/chart/both?

Select whether you want to include a table, a chart, or both of data stream values in the report. By default, the table is included.

Select chart style

Click the Browse [...] button to open the Chart Settings dialog box and select the graphic properties for the charts in your report. The default is Bar.

Select output folder

Click the Browse [...] button to open the Publishing Options dialog box and select the parameters for your report’s output folder. The default folder prefix is UNIX_CPULoad.

Add job ID to output folder name? (yes/no)

Specify whether you want to add the job ID to the report’s output folder name. The default is no.

Add the job ID to the output folder name to help make the correlation between a specific instance of a Report Script and the corresponding report easier.

Select properties

Click the Browse [...] button to open the Report Properties dialog box and select the properties as desired. The default title for your report is UNIX CPU Load.

Add time stamp to title? (yes/no)

Specify whether you want to append a time stamp to the title of your report, making each title unique. The time stamp includes the date and time the report was generated. The default is no.

Adding a time stamp is useful in order to run consecutive iterations of the same report without overwriting previous output.

Event notification

Use the following parameters to raise events associated with generating the report, and to set severity levels for those events.

Event for report success? (yes/no)

Specify whether you want to raise an event if the report is successfully generated. The default is y.

Event severity level for report success

Set the event severity level, from 1 to 40, to indicate the importance of the event when the report is successful. The default is 35.

Event severity level for report with no data

Set the event severity level, from 1 to 40, to indicate the importance of the event when the report has no information in it. The default is 25.

Event severity level for report failure

Set the event severity level, from 1 to 40, to indicate the importance of the event when the report fails. The default is 5.

Enable debugging? (y/n)

Set to y to enable debugging. The default is n.