Here is the command to clear the swap cache memory in RHEL Linux.
sync; echo 3 > /proc/sys/vm/drop_caches
or
sync && /sbin/sysctl vm.drop_caches=3 && swapoff -a && swapon -a
Now check the cache using top , free -m or vmstat 2 5.
sync; echo 3 > /proc/sys/vm/drop_caches
or
sync && /sbin/sysctl vm.drop_caches=3 && swapoff -a && swapon -a
Now check the cache using top , free -m or vmstat 2 5.