How to Check Memory Usage and Clear Memory on CentOS
Before clearing memory, let’s check memory usage.
Command: free -m then use the memory clearing command: echo 1 > /proc/sys/vm/drop_caches After using the clear command, you can follow up with the check command: free -m, to see if a lot of memory has been freed ps aux results sorted by memory usage …