Results 1 to 3 of 3
Hello,
the quota of inodes on my server (via a host provider) is already used at more than 80%, and increasing regularly.
How to trace inodes usage ?
If inodes ...
- 08-09-2011 #1Linux Newbie
- Join Date
- Dec 2008
- Location
- Luxembourg
- Posts
- 130
How to trace inodes usage ?
Hello,
the quota of inodes on my server (via a host provider) is already used at more than 80%, and increasing regularly.
How to trace inodes usage ?
If inodes corresponds to files, how can print number of files per directory to check any abnormal high figures ?
Bye,
Bruno
- 08-10-2011 #2Just Joined!
- Join Date
- Aug 2011
- Posts
- 37
You can use these commands:
Code: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"
- 08-10-2011 #3Linux Newbie
- Join Date
- Dec 2008
- Location
- Luxembourg
- Posts
- 130
Thanks Ioanna83.
Cool command. It helped me.



