diff --git a/README.md b/README.md index 27539f0..26ed4b0 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Here's a list of the most interesting ones, along with what they do and where th - genimagecomparisonframes - Another script I wrote to generate the frames for the first half of [this video](https://starbeamrainbowlabs.com/blog/images/20160525-Tessellator-Comparison.webm). - [dtach](http://dtach.sourceforge.net/) - A minimal alternative to `screen` and `tmux`. - [commacd](https://github.com/shyiko/commacd) - A faster way to move around. + - drop_pagecache - A quick script I wrote to drop the linux page cache. ## Disclaimer I don't own many of the tools in this repository. If you are an owner of one of these tools and I haven't linked to you, please let me know as I probably forgot. diff --git a/drop_pagecache b/drop_pagecache new file mode 100755 index 0000000..b01d933 --- /dev/null +++ b/drop_pagecache @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +echo 1 | sudo tee /proc/sys/vm/drop_caches