summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2013-02-07 06:26:13 +0200
committerKai Huuhko <kai.huuhko@gmail.com>2013-02-07 06:26:13 +0200
commit9056246d1ce38deaa52078421ebddddefda191fd (patch)
tree8bf24bb0e0d7151554784ccd132f35921f830dbe
parentea4f2c77727801359db983f6ccf1894aa24ebb91 (diff)
Add a system related script
-rwxr-xr-xsystem/drop_caches4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/drop_caches b/system/drop_caches
new file mode 100755
index 0000000..56a7eb3
--- /dev/null
+++ b/system/drop_caches
@@ -0,0 +1,4 @@
1#!/bin/sh
2sudo sync
3sleep 3
4sudo su -c 'echo 3 > /proc/sys/vm/drop_caches'