[ale] Inode count in directory

Jim Popovitch jimpop at gmail.com
Fri Feb 12 18:28:55 EST 2010


On Fri, Feb 12, 2010 at 17:56, Brandon Checketts
<brandon at brandonchecketts.com> wrote:
> I have an OpenVZ instance that claims to be out of inodes.  I could just
> increase the limit, but I'd like to see where all of them are being
> used.  Does anybody know how to count the number of inodes in a
> directory, similar to 'du -sm *' ??  I suppose some combination of 'ls
> -i' and 'wc' might work, but my brain has about stopped working for the
> week, and I'm thinking that there must be an easier way


http://lmgtfy.com/?q=count+inodes+in+a+directory

-Jim P.



More information about the Ale mailing list