-
-
Save j1cs/f5b029f0cfcfefecac10 to your computer and use it in GitHub Desktop.
Libera los buffers de la ram
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Flush file system buffers by executing | |
sync; | |
# free page cache | |
echo 1 > /proc/sys/vm/drop_caches; | |
# free dentries and inodes | |
echo 2 > /proc/sys/vm/drop_caches | |
# free page cache, dentries and inodes | |
echo 3 > /proc/sys/vm/drop_caches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment