Skip to content

Instantly share code, notes, and snippets.

@skyrocknroll
Created October 15, 2017 16:30
Show Gist options
  • Save skyrocknroll/5c073166449e57b2f341236582a09bd7 to your computer and use it in GitHub Desktop.
Save skyrocknroll/5c073166449e57b2f341236582a09bd7 to your computer and use it in GitHub Desktop.
Deleted file but still held by process inode disk space

sudo lsof -F sn0 | tr -d '\000' | grep deleted | sed 's/^[a-z]([0-9])n/\1 /' | sort -n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment