# inode checking :
Inode Usage :
1) You can check the inodes of an account on your server by using SSH:
# quota -s <cPanel_username>
2) If you have SSH access to your account you can view the inodes for a specific folder using the following command :
root@XXX [/]# 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 ; printf "Total: \t\t$(find $(pwd) | wc -l)\n"
98 - bin
1 - boot
110 - dev
1237 - etc
88873 - home
201 - lib
267 - lib64
1 - media
1 - mnt
629 - opt
13290 - proc
205 - root
182 - sbin
1 - selinux
1 - .spamassassin
1 - srv
304 - sys
15 - tmp
108013 - usr
4273 - var
Total: 217708
root@XXX [/]#
2 comments:
very good Linux post...
business catalyst developer
@dynamicdreamz :
Thank you!! :) :)
Post a Comment