How to find the max inode using folder in server in linux ?

Inodes are the important feature on any server which can sometimes be overused by clients in shared hostingTo find the user or folder using max inodes ,

SSH to server as root

#cd /home     ; Change directory to /home

run below command to see the max using inode account

This will show the max inode folder and then can login to the folder and run below command to see the exact folder which is using max inode

for d in *; do echo -n “$d: “; find $d -type f | wc -l; done