The release of the virtual memory is usually accompanied by the shutdown of the application. you can use the command to refresh the swap and restore it to the initial state: swapoff-aswapon-a for example: [root @ wjlcn1026vm] # The release of free-mto virtual memory is usually accompanied by the shutdown of the application. you can use the command to refresh swap to restore to the initial state: swapoff-aswapon-a for example: [root @ wjlcn1026 vm] # free-m total used free shared buffers cachedMem: 1744 913 830 0 0 491-/+ buffers/cache: 422 1321 Swap: 2015 1097 918 [root @ wjlcn1026 vm] # swapoff-a [root @ wjlcn1026 vm] # free-m total used free shared buffers cachedMem: 1744 1109 634 0 5 694-/+ buffers/cache: 410 1333 Swap: 0 0 0 [root @ wjlcn1026 vm] # swapon-a [root @ wjlcn1026 vm] # free-m total used free shared buffers cachedMem: 1744 1116 627 0 5 694-/+ buffers/cache: 417 1326 Swap: 2015 0 2015
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service