How to check details INODE /File usage

go to Terminal of hosting sever
or access server using SSH

go Home account /home/username

then type Folllowing Command
command 1
find . -printf "%h\n" | cut -d/ -f-2 | sort | uniq -c | sort -rn

Command 2
echo "Detailed Inode usage for: $(pwd)" ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf "$c\t\t- $d\n" ; done|sort -nr ; printf "Total: \t\t$(find $(pwd) | wc -l)\n"

Leave a Reply 0

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