求教为什么内存不足了
AIX实际可用物理内存有3.8G,我用ps命令看了一下各个进程使用的总内存,百分比不到30%,可是用vmstat和svmon查看free内存只有60M了,而且从实际运行程序的速度看,的确是内存不足了.请教剩下这些内存都到哪里去了?
# svmon -G -O unit=auto
Unit: auto
--------------------------------------------------------------------------------------
size inuse free pin virtual available mmode
memory 3.75G 3.70G 50.0M 734.46M 2.86G 645.70M Ded
pg space 5.50G 12.3M
work pers clnt other
pin 615.16M 0K 0K 119.31M
in use 2.86G 0K 863.52M
</home/icd/icddir/bin> ps aux | head -1 ; ps aux | sort -rn +3 | head -10
USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
icd 983044 2.0 12.0 413204 453724 - A 00ʱ00·Ö47Ãë 25:22 /home/test/ic
icd 835748 12.4 9.0 359236 359032 - A 1ÔÂ20 599:34 /home/test/ic
icd 803006 0.3 4.0 169804 169856 - A 1ÔÂ16 47:03 /home/test/wa
root 241790 0.1 2.0 75760 75780 - A 1ÔÂ15 13:33 /var/opt/tiv
icd 852138 0.7 2.0 96868 96880 - A 1ÔÂ20 31:53 /home/icd/ic
icd 979184 0.7 1.0 41344 41028 - A 1ÔÂ20 32:47 /home/icd/ic
root 991436 0.0 0.0 824 836 - A 15ʱ38·Ö27Ãë 0:00 telnetd -a
root 933944 0.0 0.0 824 836 - A 1ÔÂ18 0:00 telnetd -a
root 909500 0.0 0.0 824 836 - A 1ÔÂ21 0:00 telnetd -a
root 893020 0.0 0.0 824 836 - A 1ÔÂ17 0:00 telnetd -a
topas看到的结果
Topas Monitor for host: ctiserver EVENTS/QUEUES FILE/TTY
Wed Jan 22 10:43:25 2014 Interval: 2 Cswitch 31018 Readch 651.9K
Syscall 24763 Writech 3865
CPU User% Kern% Wait% Idle% Reads 326 Rawin 0
ALL 8.3 11.0 0.0 80.8 Writes 29 Ttyout 294
Forks 1 Igets 0
Network KBPS I-Pack O-Pack KB-In KB-Out Execs 1 Namei 321
Total 10.8 56.0 38.0 6.6 4.2 Runqueue 0.5 Dirblk 0
Waitqueue 0.0
Disk Busy% KBPS TPS KB-Read KB-Writ MEMORY
Total 0.0 0.0 0.0 0.0 0.0 PAGING Real,MB 3840
Faults 726 % Comp 80
FileSystem KBPS TPS KB-Read KB-Writ Steals 0 % Noncomp 18
Total 647.3 296.0 646.6 0.6 PgspIn 0 % Client 18
PgspOut 0
PageIn 0 PAGING SPACE
test 995558 6.2 5.2 test PageOut 0 Size,MB 5632
test1 983044 3.9 387.7 test Sios 0 % Used 0
test2 835748 1.9 338.0 test % Free 100