- 论坛徽章:
- 0
|
top查看信息如下
top - 15:25:24 up 1 day, 23:36, 2 users, load average: 168.53, 194.12, 144.28
Tasks: 77 total, 2 running, 75 sleeping, 0 stopped, 0 zombie
Cpu(s): 36.0% us, 62.8% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 1.2% si
Mem: 1017620k total, 803880k used, 213740k free, 85480k buffers
Swap: 2096472k total, 128k used, 2096344k free, 70768k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27885 nobody 15 0 760m 42m 12m S 43.9 4.3 0:05.87 httpd
27271 nobody 16 0 872m 46m 12m S 39.3 4.7 0:10.07 httpd
27267 nobody 16 0 870m 45m 12m S 34.7 4.6 0:12.28 httpd
27269 nobody 16 0 869m 45m 12m S 23.1 4.5 0:08.06 httpd
27889 nobody 16 0 704m 44m 12m S 16.2 4.4 0:03.42 httpd
27680 nobody 16 0 830m 44m 12m S 11.6 4.5 0:03.30 httpd
27887 nobody 16 0 531m 41m 12m S 11.6 4.2 0:08.16 httpd
27576 nobody 16 0 848m 45m 12m S 6.9 4.6 0:07.22 httpd
28197 nobody 16 0 865m 43m 12m S 4.6 4.3 0:00.83 httpd
28606 nobody 16 0 840m 18m 12m S 4.6 1.8 0:00.03 httpd
28503 nobody 16 0 851m 28m 12m S 2.3 2.9 0:00.28 httpd
1 root 16 0 1680 556 480 S 0.0 0.1 0:00.67 init
2 root RT 0 0 0 0 S 0.0 0.0 0:00.03 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.93 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:00.02 migration/1
5 root 34 19 0 0 0 S 0.0 0.0 0:00.43 ksoftirqd/1
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/1
8 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 khelper
9 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
12 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
97 root 10 -5 0 0 0 S 0.0 0.0 0:00.05 kblockd/0
98 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kblockd/1
149 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
150 root 15 0 0 0 0 S 0.0 0.0 0:11.91 pdflush
152 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
153 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 aio/1
151 root 15 0 0 0 0 S 0.0 0.0 0:03.59 kswapd0
240 root 15 0 0 0 0 S 0.0 0.0 0:00.24 kseriod
333 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0
335 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 ata/1
344 root 15 0 0 0 0 S 0.0 0.0 1:25.17 kjournald
1137 root 11 -5 1576 448 376 S 0.0 0.0 0:00.01 udevd
1142 root 19 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
1143 root 19 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
vmstat 2
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
3 0 128 153624 87832 74136 0 0 0 2164 2282 1436 30 54 8 8
6 0 128 152384 87840 74128 0 0 0 8 2208 1447 38 62 0 0
5 0 128 152144 87840 74128 0 0 0 0 2312 1408 37 63 0 0
13 0 128 152020 87840 74128 0 0 0 1480 2093 1233 36 62 1 1
7 0 128 154128 87840 74128 0 0 0 0 2094 1355 34 66 0 0
6 0 128 153880 87852 74116 0 0 0 2058 2365 1511 35 62 2 2
15 0 128 153756 87864 74104 0 0 0 42 2448 1468 38 62 0 0
3 0 128 153384 87864 74104 0 0 0 0 2202 1361 36 64 0 0
31 0 128 149664 87868 74100 0 0 0 1880 2168 1294 33 61 3 3
12 0 128 148912 87868 74100 0 0 0 0 2174 1424 33 67 0 0
61 0 128 148780 87884 74084 0 0 0 1840 2163 1232 32 64 1 3
87 0 128 148532 87888 74080 0 0 0 44 2332 1479 37 63 0 0
28 0 128 152996 87888 74080 0 0 0 0 2320 1520 36 64 0 0
50 0 128 148408 87896 74072 0 0 0 2162 2196 1316 31 63 2 4
73 0 128 144944 87900 74068 0 0 0 0 2110 1346 36 64 0 0
92 0 128 140232 87912 74316 0 0 0 1984 2460 1548 35 60 2 3
66 0 128 137140 87912 74316 0 0 0 0 2369 1467 36 64 0 0
10 0 128 134032 87920 74308 0 0 0 1992 2272 1455 36 60 2 1
43 0 128 131800 87920 74308 0 0 0 40 2054 1290 34 66 0 0
55 0 128 130808 87920 74308 0 0 0 0 2102 1360 35 65 0 0
69 0 128 131552 87924 74304 0 0 0 1940 2239 1248 32 64 2 2
88 0 128 131444 87924 74304 0 0 0 0 2107 1296 36 65 0 0
4 0 128 132560 87924 74304 0 0 0 1946 2284 1374 33 61 3 3
7 0 128 132064 87924 74304 0 0 0 38 2052 1338 35 65 0 0
11 0 128 127724 87924 74304 0 0 0 0 2116 1414 35 65 0 0
54 0 128 124748 87936 74292 0 0 0 1976 2219 1278 33 61 3 3
65 0 128 121276 87936 74292 0 0 0 0 2179 1300 35 65 0 0
16 0 128 117804 87940 74288 0 0 0 1874 2159 1419 35 60 1 3
11 0 128 114084 87952 74276 0 0 0 46 2227 1353 37 63 0 0
21 0 128 111836 87952 74276 0 0 0 0 2250 1420 35 65 0 0
3 0 128 108488 87956 74272 0 0 0 2050 2150 1248 34 60 3 3
3 0 128 105140 87956 74272 0 0 0 0 2128 1336 35 65 0 0
14 0 128 104520 87964 74264 0 0 0 1932 2275 1284 32 60 4 4
15 0 128 102164 87968 74260 0 0 0 42 2335 1473 39 61 0 0
93 0 128 90260 87976 74252 0 0 0 0 2305 1647 36 64 0 0
39 0 128 84432 87980 74248 0 0 0 2124 2412 1613 33 61 3 2
netstat -an|grep :80|wc -l
1113
ps -A|grep httpd|wc -l
19
大部分的时间都是好的,但是只要load average增加到50以上就下不来了
哪位能看看瓶颈是在什么地方 |
|