- 论坛徽章:
- 0
|
系统是solaris 2。6 的,这几天发现有很多进程被交换出去,但有没有发现有内存不足的现象。\r\nvmstat 和top 命令结果如下:\r\n#vmstat -S 3\r\n\r\nprocs memory page disk faults cpu\r\n r b w swap free si so pi po fr de sr f0 m0 m1 m2 in sy cs us sy id\r\n 0 0 25 8642736 64032 0 0 3560 250 2626 8424 354 0 0 0 0 1136 24646 831 36 4 60\r\n 0 1 25 8642728 63624 0 0 6354 538 5002 6152 658 0 0 0 0 1659 22847 938 29 7 64\r\n 0 2 25 8642640 63328 0 0 5093 528 3730 4496 489 0 0 0 0 1571 11868 1114 30 4 66\r\n 0 2 25 8642624 63720 0 0 2616 277 1589 3288 203 0 0 0 0 1592 10483 1096 40 3 58\r\n 0 1 25 8642616 63832 0 0 2162 149 976 2400 127 0 0 0 0 1297 11067 1040 40 2 58\r\n 0 0 25 8642624 63960 0 0 2232 237 1285 1752 158 0 0 0 0 1334 11870 1043 26 3 70\r\n 0 1 25 8642584 63584 0 0 2538 242 1162 1264 145 0 0 0 0 1259 10956 889 27 2 71\r\n 0 1 25 8642584 63344 0 0 3074 333 1789 784 227 0 0 0 0 1255 10648 929 22 5 74\r\n 0 1 25 8642576 63280 0 0 2656 421 2013 304 260 0 0 0 0 1356 10767 1040 26 3 70\r\n 0 1 25 8642560 63816 0 0 3936 314 1098 0 129 0 0 0 0 1773 10971 1638 22 4 74\r\n 0 0 25 8642528 63736 0 0 1117 325 1336 0 165 0 0 0 0 1012 8665 868 12 2 86\r\n 0 0 25 8641088 62760 0 0 2176 442 2178 0 282 0 0 0 0 1172 8452 996 17 2 82\r\n 0 2 25 8641008 64400 0 0 2397 448 912 0 70 0 0 0 0 1720 8537 1454 18 7 75\r\n\r\n\r\nlast pid: 11318; load averages: 1.36, 1.52, 1.61 14:27:47\r\n584 processes: 580 sleeping, 2 zombie, 2 on cpu\r\nCPU states: 63.5% idle, 25.3% user, 2.2% kernel, 9.0% iowait, 0.0% swap\r\nMemory: 4096M real, 62M free, 2859M swap in use, 8435M swap free\r\n\r\n#top\r\n\r\n PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND\r\n 9339 ora805 11 60 0 670M 660M sleep 7:14 15.19% oracle\r\n11297 ora805 1 59 0 662M 651M sleep 1:27 1.68% oracle\r\n10790 appmgr 1 8 0 52M 27M sleep 0:11 0.75% f45webm\r\n 7346 appmgr 1 38 0 50M 24M sleep 1:59 0.52% f45webm\r\n 8516 appmgr 1 48 0 49M 19M sleep 2:13 0.49% f45webm\r\n11287 ora805 1 33 0 18M 12M sleep 0:01 0.45% OEORPC\r\n11313 ora805 1 59 0 334M 327M sleep 0:03 0.39% oracle\r\n 9896 apptest 1 54 0 40M 18M sleep 0:02 0.38% f45webm\r\n10745 appmgr 1 28 0 42M 19M cpu/0 0:05 0.29% f45webm\r\n11318 root 1 45 0 2240K 1752K cpu/3 0:00 0.23% top\r\n 7617 appmgr 1 48 0 43M 19M sleep 0:39 0.15% f45webm\r\n 6478 appmgr 1 54 0 14M 6552K sleep 0:20 0.10% INCTM\r\n 6511 appmgr 1 22 0 663M 653M sleep 1:36 0.09% oracle\r\n 6508 appmgr 1 58 0 662M 653M sleep 0:17 0.09% oracle\r\n10760 ora805 1 42 0 663M 654M sleep 0:02 0.08% oracle\r\n 7961 appmgr 1 58 0 43M 19M sleep 1:11 0.08% f45webm\r\n10389 appmgr 1 52 0 42M 17M sleep 0:05 0.08% f45webm\r\n 7650 ora805 1 59 0 663M 654M sleep 0:26 0.07% oracle\r\n10804 ora805 1 59 0 662M 651M sleep 0:02 0.06% oracle\r\n\r\n把应用都停掉了,还是没法解决这个问题,各位看看有什么办法把这些进程找出来。 |
|