[ale] Inode count in directory

Brandon Checketts brandon at brandonchecketts.com
Fri Feb 12 17:56:21 EST 2010


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

Thanks,
Brandon Checketts


More information about the Ale mailing list