Monitoring Processor Use; Using The Sar Utility (Aix, Hp-Ux, Intel Solaris) - Oracle Oracle9i Application Manual

Release 1.0.2 for aix-based systems, compaq tru64 unix, hp 9000 series hp-ux, linux intel, and sun solaris intel
Hide thumbs Also See for Oracle9i:
Table of Contents

Advertisement

Monitoring Processor Use

Monitoring Processor Use
To determine process utilization, you should gather CPU statistics. You should also
monitor system scalability by adding users and increasing the system workload.
Use utilities such as sar (System Activity Reporter) and mpstat to monitor process
use.

Using the sar Utility (AIX, HP-UX, Intel Solaris)

You can use sar to sample cumulative activity counters in the operating system at
specified intervals.
Report CPU Utilization
To determine process use, use the following sar command:
$ sar -u 5 5
This command samples CPU usage five times, in five second intervals, as shown
:
below:
The statistics above show that the CPU was only 9% idle for the given time interval.
If your performance criteria specify that CPU usage must be below a certain
percentage, you can use sar to sample usage at a chosen interval during peak load
times.
2-2 Oracle HTTP Server powered by Apache Performance Guide
$ sar -u 5 5
15:30:25
%usr
15:30:30
49
15:30:35
52
15:30:40
46
15:30:45
46
15:30:50
50
Average
46
%sys
%wio
%idle
36
0
41
0
45
0
44
0
41
0
41
0
14
7
8
10
9
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Oracle9i application server

Table of Contents