Engine CPU monitor


Job details

Name: Engine CPU monitor
Platform: Sybase
Category: Performance
Description: Collects counter values for busy io and busy cpu, and are based on the dbWatch tasks ‘System monitor collector’ which runs the ‘dbcc monitor’ utility continuously.
Long description:
Version: 1.3
Default schedule: 2,12,22,32,42,52 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘sybase’]/instance[maj_version = ‘12′ & hasengine=‘YES’]

Parameters

Name Default value Description
history threshold 48 The amount of hours the statistics will be hold in the history table.

Job Summary

select engine_name + ' (CPU busy)' engine, cpu_busy value, histr_date from dbw_cpu_histr
union
select engine_name + ' (I/O busy)', io_busy value, histr_date from dbw_cpu_histr
union
select engine_name + ' (Idle)', 100.0 - cpu_busy - io_busy value, histr_date from dbw_cpu_histr
order by histr_date asc

Detailed Job Description

This monitoring job targets instances of type Sybase with major version 12 that contain an engine. The job involves the ‘dbw_engine_cpu_proc’ object which is dependent on the continuous running of the “dbcc monitor” utility by the task “System monitor collector.”

This process not only collects but also analyzes data about the amount of time the CPU is busy and the amount of time spent on I/O operations. This information is stored in historical tables and is used for computing usage statistics over specified intervals.

Dependencies

Implementation Details

Automated Cleanup

Reporting

In conclusion, this monitoring job plays a crucial role in active database performance management by helping administrators understand and optimize CPU and I/O usage within their Sybase instances.