日期:2014-05-16 浏览次数:20822 次
注:linux swap分区 采用lvm管理,调控可以采用下面的方法
一.查看 swap lv
[root@testdb ~]# vgdisplay -v
Finding all volume groups
Finding volume group "VolGroup"
--- Volume group ---
VG Name VolGroup
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 357.38 GiB
PE Size 4.00 MiB
Total PE 91489
Alloc PE / Size 34512 / 134.81 GiB