How do I clear swap memory in Linux without rebooting?

How do I clear swap memory in Linux without rebooting?
Answer
Clear Cached Memory On Linux Without Reboot
  1. Check available, used, cached memory with this command: …
  2. Commit any buffers to disk first with following command: …
  3. Next Let’s send signal now to kernel to flush pagecaches, inodes, and dentries: …
  4. Check system RAM again.
 

Tìm kiếm

Back
Top