Skip to content

Instantly share code, notes, and snippets.

@suya55
Created May 19, 2016 05:58
Show Gist options
  • Save suya55/7c789283386bc4543e8bec51e5e92817 to your computer and use it in GitHub Desktop.
Save suya55/7c789283386bc4543e8bec51e5e92817 to your computer and use it in GitHub Desktop.
display 10 biggest open files
lsof / | awk '{ if($7 > 1048576) print $7/1048576 "MB "$9 }' | sort -n -u | tail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment