Answer the question
In order to leave comments, you need to log in
How to clear the cache on CENTOS?
Worth vestaCP.
on centos.
I log in as root via ssh
and enter:
echo 1 > /proc/sys/vm/drop_caches
echo 2 > /proc/sys/vm/drop_caches
echo 3 > /proc/sys/vm/drop_caches
writes:
[[email protected] ~]# echo 1 > /proc/sys/vm/drop_caches
bash: /proc/sys/vm/drop_caches: Permission denied
[[email protected] ~]# echo 2 > /proc/sys/vm/drop_caches
bash: /proc/sys/vm /drop_caches: Permission denied
[[email protected] ~]# echo 3 > /proc/sys/vm/drop_caches
bash: /proc/sys/vm/drop_caches: Permission denied
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question