Free inodes

I can happens that inodes go above a certain value (fe 75%). To check the inodes, you can use

df -i
/dev/asm/acfs_bill-155 104857600 79526856 25330744 76% /billing

If you want to check which folder is having the most inodes/files:

for i in *; do echo -e “$(find $i | wc -l)\t$i”; done | sort -n
1 cgroup
1 lost+found
1 media
1 metadata
1 misc
1 mnt
1 net
1 selinux
1 srv
44 boot
122 bin
230 root
274 tmp
322 sbin
445 lib64
985 home
2178 etc
2429 billing
8087 opt
9228 var
9249 lib
10091 dev
92216 usr
92410 oraadm01
99729 sys
148201 oraapp01
524172 proc