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
Leave a Reply