What is consuming my inodes?

To find how many inodes are in use & available, you would issue the command:

df -i

but to find out the top ten directories consuming inodes issue the following from root:

for i in `ls -1A | grep -v "\.\./" | grep -v "\./"`; do echo "`find $i | sort -u | wc -l` $i"; done | sort -rn | head -10

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *