swap issues on Linux and clear the swap usage

swap issues on Linux clear the swap usage free -to (Total memory usage) free -m (Memory usage of swap) swapoff -a && swapon -a ( swap off and on) free cat /proc/swaps sync; echo 3 > /proc/sys/vm/drop_caches To free pagecache: # echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes: # echo 2 > /proc/sys/vm/drop_caches […]

Read more
Extending Swap on an LVM2 Logical Volume

Extending Swap on an LVM2 Logical Volume 1)Check swap space and its utilization cat /proc/swaps # free 2) Scan (all disks) for Logical Volumes lvscan [root@localhost ~]# lvscan ACTIVE ‘/dev/VolGroup/lv_root’ [47.44 GiB] inherit ACTIVE ‘/dev/VolGroup/lv_home’ [46.19 GiB] inherit ACTIVE ‘/dev/VolGroup/lv_swap’ [5.88 GiB] inherit 3) Disable devices and files for paging and swapping swapoff -v /dev/VolGroup/lv_swap […]

Read more
Reducing Swap on an LVM2 Logical Volume

Reducing Swap on an LVM2 Logical Volume 1) Check swap space and its utilization cat /proc/swaps # free 2) Scan (all disks) for Logical Volumes lvscan [root@localhost ~]# lvscan ACTIVE ‘/dev/VolGroup/lv_root’ [47.44 GiB] inherit ACTIVE ‘/dev/VolGroup/lv_home’ [46.19 GiB] inherit ACTIVE ‘/dev/VolGroup/lv_swap’ [5.88 GiB] inherit 3) Disable devices and files for paging and swapping swapoff -v […]

Read more

Hit Counter provided by dental implants orange county