1 => To check Memory utilization run below command and check .
#top
or
#htop
or
#free -h
2 => To clear memory cache you can run below command .
# sync; echo 1 > /proc/sys/vm/drop_caches
: verify again
#free -h
3 => To clear buffers you can run below command.
# sync; echo 2 > /proc/sys/vm/drop_caches
check:
#free -h
4 => To clear memory, buffers and swap in one command run.
# sync; echo 3 > /proc/sys/vm/drop_caches
check :
#free -h
Thanks
Enjoy
No comments:
Post a Comment