[Dirvish] Utility to show incremental usage per image within a vault

Shawn Perry redmopml at comcast.net
Thu May 11 21:02:37 UTC 2006


Or you can go through the entire vault like this:

du -m -s -c */* --exclude=dirvish

Shawn

P.S.  Thanx for the start on that, Steve. :)

On Friday 05 May 2006 03:50 pm, Steve Leung wrote:
> On Fri, May 05, 2006 at 03:44:22PM -0600, Steve Leung wrote:
> > Doesn't 'du' already try to keep track of inodes and only report
> > hard-linked files once?  For example, if I run this on my home directory
> > in my dirvish vault, it looks like this:
> >
> > % du -sm */tree/home/steve
> > 50802   20060420/tree/home/steve
> > 595     20060421/tree/home/steve
> > 20      20060422/tree/home/steve
> > 561     20060423/tree/home/steve
> > 197     20060424/tree/home/steve
> > 21      20060425/tree/home/steve
> > 467     20060426/tree/home/steve
> > 1373    20060427/tree/home/steve
> > 1180    20060428/tree/home/steve
> > 27      20060429/tree/home/steve
> > 1927    20060430/tree/home/steve
> > 833     20060501/tree/home/steve
> > 1394    20060502/tree/home/steve
> > 641     20060503/tree/home/steve
> > 251     20060504/tree/home/steve
>
> Right, for those of you who don't know what's in my home directory, I
> should probably point out that du with -l (to count hard links more than
> once) looks like:
>
> % du -lsm */tree/home/steve
> 50802   20060420/tree/home/steve
> 51374   20060421/tree/home/steve
> 51361   20060422/tree/home/steve
> 51226   20060423/tree/home/steve
> 51316   20060424/tree/home/steve
> 50673   20060425/tree/home/steve
> 50878   20060426/tree/home/steve
> 45563   20060427/tree/home/steve
> 45506   20060428/tree/home/steve
> 45517   20060429/tree/home/steve
> 46399   20060430/tree/home/steve
> 46410   20060501/tree/home/steve
> 46178   20060502/tree/home/steve
> 45733   20060503/tree/home/steve
> 45319   20060504/tree/home/steve
>
> Steve
> _______________________________________________
> Dirvish mailing list
> Dirvish at dirvish.org
> http://www.dirvish.org/mailman/listinfo/dirvish


More information about the Dirvish mailing list