Created
June 24, 2015 09:03
-
-
Save chluehr/3730b6f63a2d39a07845 to your computer and use it in GitHub Desktop.
Finds where all your inodes are being used ..
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# see: http://unix.stackexchange.com/questions/117093/find-where-inodes-are-being-used | |
# show inode usage: | |
df -i | |
# find where all those files are (roughly) - starts at / | |
find / -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment