So something like the following, once a week:

Right.  Maybe --exclude=/proc, as Bob mentioned.

              du --one-file-system --human --bytes --separate-dirs / \

Better to leave out --human, since it's a lot easier for a script to
subtract two actual numbers than something like "2.1M" from "1.1G".
Also I wouldn't bother with --bytes; when it comes to disk space, kb is
easier to think in, and the exact number of bytes isn't really crucial.
Anything important will be a lot of megabytes anyway.

Thanks,
Karl

Reply via email to