Clear memory cache in linux
The below command will remove cache memory
sudo sh -c “sync; echo 3 > /proc/sys/vm/drop_caches”
One Comment
Post a comment
The below command will remove cache memory
sudo sh -c “sync; echo 3 > /proc/sys/vm/drop_caches”
![]()
Database Administrator, Blogger, Contributor
[root@PCE-DCMS vm]#
[root@PCE-DCMS vm]# sh drop_caches
drop_caches: line 1: 0: command not found
[root@PCE-DCMS vm]#
Please , kindly advise me .. I can’t run that file.