- 论坛徽章:
- 0
|
系统跑oracle性能还好,但w值太高,procs描述: \r\nr-->;在运行队列中等待的进程数 \r\nb-->;在等待io的进程数 \r\nw-->;可以进入运行队列但被替换的进程\r\n不明白?\r\n\r\n# vmstat 5\r\nprocs memory page disk faults cpu\r\n r b w swap free re mf pi po fr de sr m0 m1 m2 m3 in sy cs us sy id\r\n 0 0 42 5146992 1569616 0 0 0 0 0 0 0 2 2 2 0 1508 703 654 1 1 97\r\n 0 0 42 5146992 1569616 0 0 0 0 0 0 0 2 2 2 0 1843 1501 1215 8 3 89\r\n 0 0 42 5146992 1569616 0 0 0 0 0 0 0 1 1 1 0 2085 1342 1094 6 2 92\r\n 0 0 42 5146992 1569512 0 12 0 0 0 0 0 1 1 1 0 1632 2422 1894 17 4 79\r\n 0 0 42 5146992 1569112 0 5 0 0 0 0 0 1 1 1 0 1404 2436 1919 19 4 78\r\n 0 0 42 5146992 1569112 0 0 0 78 78 0 0 2 2 2 0 1832 1027 899 3 4 93\r\n 0 0 42 5146992 1569112 0 0 0 0 0 0 0 2 2 2 0 1489 699 675 1 1 97\r\n 0 0 42 5146992 1569112 0 0 0 0 0 0 0 1 1 1 0 1535 1879 1455 11 2 87\r\n 0 0 42 5146992 1569112 0 0 0 80 80 0 0 1 1 1 0 1777 881 787 2 1 97\r\n 0 0 42 5146992 1569120 0 0 0 0 0 0 0 8 8 8 0 1842 2418 1819 16 4 80\r\n 0 0 42 5146992 1569120 0 0 0 0 0 0 0 5 5 5 0 1480 1456 1202 10 2 88\r\n 0 0 42 5146992 1569120 0 0 0 0 0 0 0 2 2 2 0 1367 1480 1221 8 4 89\r\n 0 0 42 5146976 1569104 0 0 0 0 0 0 0 1 1 1 0 2087 2134 1613 12 3 85\r\n 0 0 42 5146976 1569088 0 1 0 0 0 0 0 1 1 1 0 1587 3965 2791 25 5 70\r\n 0 0 42 5146976 1569048 0 0 0 0 0 0 0 1 1 1 0 1536 1273 1053 7 3 90\r\n 0 0 42 5146976 1569048 0 5 0 0 0 0 0 1 1 1 0 1878 1398 1148 8 2 90\r\n 0 0 42 5147072 1569144 1 2 0 1 1 0 0 2 2 2 0 2020 1043 880 3 2 95\r\n 0 0 42 5147192 1569176 0 4 0 0 0 0 0 1 1 1 0 1506 1739 1396 11 5 84\r\n 0 0 42 5147280 1569200 73 710 1 0 0 0 0 5 5 5 0 1395 2445 1289 11 5 83\r\n\r\n# top 结果如下:\r\n\r\n\r\nload averages: 0.58, 0.66, 0.74 mdweb 13:26:48\r\n115 processes: 111 sleeping, 2 running, 1 stopped, 1 on cpu\r\nCPU states: 81.5% idle, 14.8% user, 2.8% kernel, 0.9% iowait, 0.0% swap\r\nMemory: 4.0G real, 1.5G free, 6.1G swap in use, 4.9G swap free\r\n\r\n PID USERNAME THR PR NCE SIZE RES STATE TIME FLTS CPU COMMAND\r\n 15974 root 26 38 0 1.1G 221M run 18:09 0 8.10% java\r\n 67 root 14 58 0 4.0G 590M run 94.1H 0 0.76% picld\r\n 17448 oracle 1 58 0 909M 884M sleep 0:00 0 0.63% oracle\r\n 17452 oracle 1 58 0 909M 885M sleep 0:01 0 0.60% oracle\r\n 17444 oracle 1 58 0 909M 885M sleep 0:01 0 0.47% oracle\r\n 17446 oracle 1 58 0 909M 884M sleep 0:01 0 0.39% oracle\r\n 17450 oracle 1 58 0 909M 885M sleep 0:01 0 0.31% oracle\r\n 17454 root 1 58 0 2544K 1552K cpu02 0:00 0 0.13% top |
|