Skip to content

Instantly share code, notes, and snippets.

@kageroh
Created December 7, 2011 02:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kageroh/1441180 to your computer and use it in GitHub Desktop.
Save kageroh/1441180 to your computer and use it in GitHub Desktop.
Mac OS X の Inactive メモリを解放するシェルスクリプト
#!/bin/sh
sudo diskutil repairpermissions /
purge
du -sx / >& /dev/null & sleep 5 && kill $!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment