Skip to content

Instantly share code, notes, and snippets.

@fredpalmer
Created June 19, 2010 05:49
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 fredpalmer/444615 to your computer and use it in GitHub Desktop.
Save fredpalmer/444615 to your computer and use it in GitHub Desktop.
# Alias to allow you to view what the files are being used on your system
# Simply type "wtf" and then your pattern to match for what files you care about
# Feel free to use regular expressions to match on
alias wtf="sudo fs_usage -e -f filesystem | grep -v CACHE_HIT | grep -v grep | grep --color -Ei "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment