- 论坛徽章:
- 0
|
一,环境:
bash-2.03# prtdiag -v
System Configuration: Sun Microsystems sun4u Sun Enterprise 420R (4 X UltraSPARC-II 450MHz)
System clock frequency: 113 MHz
Memory size: 4096 Megabytes
========================= CPUs =========================
Run Ecache CPU CPU
Brd CPU Module MHz MB Impl. Mask
--- --- ------- ----- ------ ------ ----
0 0 0 450 4.0 US-II 10.0
0 1 1 450 4.0 US-II 10.0
0 2 2 450 4.0 US-II 10.0
0 3 3 450 4.0 US-II 10.0
========================= IO Cards =========================
Bus Freq
Brd Type MHz Slot Name Model
--- ---- ---- ---------- -------------------------------- ----------------------
0 PCI 33 On-Board network-SUNW,hme
0 PCI 33 On-Board scsi-glm/disk (block) Symbios,53C875
0 PCI 33 On-Board scsi-glm/disk (block) Symbios,53C875
No failures found in System
===========================
========================= HW Revisions =========================
ASIC Revisions:
---------------
PCI: pci Rev 4
PCI: pci Rev 4
Cheerio: ebus Rev 1
System PROM revisions:
----------------------
OBP 3.23.0 1999/06/30 13:53 POST 1.2.7 1999/05/24 17:33
You have new mail in /var/mail/root
作oracle数据库服务器.
CPU占用相当的高,一般user占用高可以理解,但kernel的比例大部分时间与user占用相当,甚至更高,这是什么原因呢?如何检查原因?
load averages: 4.31, 4.00, 3.86 01:35:29
214 processes: 211 sleeping, 3 on cpu
CPU states: 18.6% idle, 35.5% user, 36.3% kernel, 9.6% iowait, 0.0% swap
Memory: 4096M real, 2050M free, 1474M swap in use, 5424M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
28527 oracle 1 0 0 391M 351M cpu1 6:56 15.58% oracle
8129 oracle 1 54 0 390M 347M sleep 0:01 0.86% oracle
23312 oracle 1 10 0 15M 5312K sleep 674:32 0.77% tnslsnr
7223 root 1 58 0 2376K 1752K cpu0 0:02 0.49% top
11289 oracle 258 58 0 400M 353M sleep 76:24 0.41% oracle
13882 root 4 58 0 125M 111M sleep 213:18 0.38% sp_cop
11291 oracle 15 58 0 399M 348M sleep 122:34 0.33% oracle
8348 root 4 31 0 53M 9200K sleep 0:00 0.33% sp_ocap
13918 root 4 58 0 104M 90M sleep 215:42 0.30% sp_cop
8351 root 4 52 0 53M 9272K sleep 0:00 0.22% sp_ocap
8355 daemon 1 34 0 391M 348M sleep 0:00 0.21% oracle
8343 oracle 1 52 0 390M 347M sleep 0:00 0.21% oracle
8354 daemon 1 32 0 391M 348M cpu1 0:00 0.19% oracle
8327 oracle 1 52 0 390M 347M sleep 0:00 0.18% oracle
8331 oracle 1 20 0 390M 347M sleep 0:00 0.16% oracle
load averages: 3.86, 3.95, 3.86 01:37:52
225 processes: 220 sleeping, 1 running, 4 on cpu
CPU states: 0.0% idle, 31.3% user, 68.8% kernel, 0.0% iowait, 0.0% swap
Memory: 4096M real, 2061M free, 1486M swap in use, 5411M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
28527 oracle 1 20 0 391M 351M run 8:24 15.69% oracle
10138 root 1 28 0 2376K 1744K cpu3 0:00 0.88% top
23312 oracle 1 21 0 15M 5312K sleep 674:37 0.87% tnslsnr
10149 oracle 1 54 0 390M 347M sleep 0:00 0.54% oracle
11291 oracle 15 58 0 399M 348M sleep 122:36 0.46% oracle
13882 root 4 48 0 125M 111M sleep 213:20 0.37% sp_cop
11289 oracle 258 58 0 400M 353M sleep 76:26 0.24% oracle
13918 root 4 48 0 104M 90M sleep 215:44 0.24% sp_cop
10309 oracle 1 33 0 390M 347M sleep 0:00 0.23% oracle
10374 root 4 38 0 52M 6928K sleep 0:00 0.19% sp_ocap
10359 oracle 1 55 0 390M 347M sleep 0:00 0.18% oracle
10371 oracle 1 31 0 390M 347M cpu0 0:00 0.17% oracle
10329 oracle 1 53 0 390M 347M sleep 0:00 0.16% oracle
10373 oracle 1 21 0 390M 347M sleep 0:00 0.16% oracle
10349 oracle 1 21 0 390M 347M sleep 0:00 0.16% oracle
load averages: 3.93, 3.96, 3.87 01:38:15
220 processes: 212 sleeping, 4 running, 4 on cpu
CPU states: 11.7% idle, 32.1% user, 45.0% kernel, 11.3% iowait, 0.0% swap
Memory: 4096M real, 2065M free, 1477M swap in use, 5421M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
28527 oracle 1 20 0 391M 351M run 8:38 15.77% oracle
23312 oracle 1 32 0 15M 5312K sleep 674:38 0.82% tnslsnr
10669 daemon 1 33 0 391M 349M sleep 0:00 0.38% oracle
11291 oracle 15 58 0 399M 348M sleep 122:37 0.36% oracle
10627 oracle 1 58 0 390M 347M sleep 0:00 0.35% oracle
11289 oracle 258 58 0 400M 353M sleep 76:26 0.35% oracle
13882 root 4 48 0 125M 111M sleep 213:20 0.34% sp_cop
10389 oracle 1 58 0 390M 347M sleep 0:00 0.32% oracle
10673 oracle 1 60 0 391M 350M sleep 0:00 0.32% oracle
10649 root 1 58 0 2376K 1744K cpu0 0:00 0.30% top
10665 root 4 60 0 53M 9880K sleep 0:00 0.27% sp_ocap
13918 root 4 58 0 104M 90M sleep 215:44 0.23% sp_cop
10679 oracle 1 42 0 390M 347M sleep 0:00 0.18% oracle
10587 oracle 1 58 0 390M 347M sleep 0:00 0.18% oracle
10777 root 4 58 0 57M 16M sleep 0:25 0.18% sp_ordr |
|