Hi,
I am using Solaris 10 on both sparc and x86 server.
I am still unable to comprehend how solaris calculate
Total Virtual Memory.
We can check the Virtual Memory in system by SMC tool and by #swap -s command.
swap -s
total: 6071888k bytes allocated + 1010404k reserved = 7082292k used, 52134560k available
Above output shows that total virtual memory is = 7082292k used, 52134560k available = 57829 MB
Sun documents says that solaris calculate Virutal Memory by combining the available RAM with total swap space
System swap is 32773 MB
And availabe RAM righ now is 22506
# vmstat 1 3
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s2 -- -- -- in sy cs us sy id
0 0 0 55999408 25906620 579 106 1410 2 2 0 0 69 0 0 0 3919 13684 6331 3 2 95
1 0 0 52134492 23046320 9 56 0 0 0 0 0 4 0 0 0 1391 4097 2257 0 1 99
0 0 0 52134372 23046196 0 6 0 0 0 0 0 5 0 0 0 1511 4367 2474 0 1 99
So combining them becomes 55279 MB which is not the same as displaying by SMC and swap -s
Does any body know how solaris exactly calculate the virtual memory which it indicates in SMC and swap -s ?