Using the top utility, Monitoring the web server, Monitor – Oracle Audio Technologies A86828-01 User Manual
Page 25
Monitoring the Web Server
Monitoring Your Web Server
2-3
The sar command (-u option) provides the following statistics:
Using the top Utility
You can use the top utility to view the ongoing processor activity in real time. Please
refer to the man pages for usage.
Example:
$ top
4.:16pm up 15 days, 5:39 23 users, load average: 0.51, 0.38, 0.49
265 processes: 261 sleeping, 3 running, 1 zombie, 0 stopped
CPU states: 7.1% user, 44.3% system, 0.0% nice, 48.4% idle
Mem: 2009664K av, 1954828K used, 54836K free, 75288K shrd, 1448352K buff
Swap: 2096440K av, 10376K used, 2086064K free
250576K cached
PID USER
PRI
NI
SIZE
RSS
SHARE
STAT
LIB %CPU %MEM
TIME COMMAND
20892 oasport
6
0
13908
13M
5068
R
0 24.9
0.6
0:06 oraweb
20928 oasport
7
0
13652
13M
4896
R
0 24.9
0.6
0:05 oraweb
20936 rkonanga
5
0
1252
1252
916
R
0
1.4
0.0
0:00 top
15187 oasport
0
0
2232
2232
1372
S
0
0.4
0.1
0:02 xterm
20728 oasport
0
0
2984
2984
1604
S
0
0.1
0.1
0:00 oasoorb
1 root
0
0
156
136
92
S
0
0.0
0.0
0:04 init
2 root
0
0
0
0
0
SW
0
0.0
0.0
0:10 kflushd
3 root
0
0
0
0
0
SW
0
0.0
0.0
6.35 kupdate
Monitoring the Web Server
Monitoring is essential to performance tuning. The Oracle HTTP Server provides
server side status information, including current server statistics, via the
mod_status
module. To obtain these server status reports, you must configure the
web server as described below.
Table 2–1
CPU statistics, as reported by the sar utility
CPU Statistics
Description
%usr
percentage of time in which the processor is running in user
mode
%sys
percentage of processes running in system time
%wio
percentage the processor spends waiting on I/O requests
%idle
percentage that the processor is idle