Created
August 11, 2013 14:48
-
-
Save tekk555/6205213 to your computer and use it in GitHub Desktop.
ディスクのキャッシュをクリアする(但し、実際にはクリアされているという実感が無い)Ubuntu 12.04LTS
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
sync | |
sysctl -w vm.drop_caches=1 | |
sysctl -w vm.drop_caches=2 | |
sysctl -w vm.drop_caches=3 | |
hdparm -f /dev/vda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment