- 论坛徽章:
- 0
|
in swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 316724 3877580 8% 0 - 1 /dev/vg00/lvol2
dev 8192000 317676 7874324 4% 0 - 1 /dev/vg00/myswap
reserve - 11517496 -11517496
memory 6415392 3996292 2419100 62%
in sam
Physical Memory: 8199.3 MB
Real Memory:
Active: 2774022.3 KB
Total: 4576361.0 KB
Virtual Memory:
Active: 7902618.5 KB
Total: 14126758.1 KB
Free Memory Pages: 13000 at 4 KB/page
Swap Space:
Avail: 12096 MB
Used: 11874 MB
从dmesg中可以看出我的physical memory 是8G
swapinfo中看出,swap是12G , 这里面的memory是指paging area,它的大小是怎么设定的,才可以最大限度利用physical memory.
(我的一些oralce鬼实例把swap都给reserve了,真是占着茅坑呀:))
在sam里面,可以看到更详细的memory:
1.physical memory
2.real memory: Amount of real memory in the machine that is available to user processes and the virtual paging
那它和swapinfo中看到的Paging memory有什么区别呢,Total real memory只有4.5G,怎样可以设定大小呢。
3.virtual memory:他和swap又是什么关系
4.free memory page, 这个应该对应的是paging memory
5.swap space |
|