- 论坛徽章:
- 0
|
vmware虚拟机 物理内存给了 500mb swap分区给了 1024mb
系统下查看
# swap -s
total: 146004k bytes allocated + 27656k reservd = 173660k used,1243036k available
# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c0t0d0s1 102,1 8 2104504 2104504
# df -h
swap 1.2G /etc/svc/volatile
swap 1.2G /var/run
swap 1.2G /tmp
# vmstat
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr cd f0 s0 -- in sy cs us sy id
0 0 0 1245260 238460 14 38 20 0 1 0 26 2 -0 -0 0 337 546 220 1 3 96
几个问题:
1. 当前的swap 用了多少 空闲多少 如何算出来的。。。
2. 当前的物理内存用了多少 空闲多少 如何算出来的。。。
3. df -h的1.2G包含了什么。。。
4. vmstat输出memory列的子项swap 和 free 分别指代什么(swap使用? swap的free?还是物理内存的free?)
感谢解答! |
|