[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Inode count in directory



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.