Subject: Re: Changes for getting a smaller daily output
To: None <tech-userlevel@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: tech-userlevel
Date: 12/14/2003 23:26:08
On Sat, Dec 13, 2003 at 08:44:14AM -0500, Perry E.Metzger wrote:
>
> Bernd Ernesti <netbsd@lists.veego.de> writes:
> >> Module Name: src
> >> Committed By: perry
> >> Date: Sun Dec 7 16:20:18 UTC 2003
> >>
> >> Modified Files:
> >> src/etc: daily
> >>
> >> Log Message:
> >> use -h ("human readable") instead of -k on nightly df
> >
> > Another change which wasn't discussed before, but this time without an
> > option to change it.
> >
> > It looks nice, but it makes the whole output usless because it takes
> > too much time to parse it if you are trying to check if some
> > filesystem is runing out of space. And no, the Capacity field isn't
> > a real one, because sometimes you have big filessytems where it is around
> > 95-99% and you still have plenty of space left.
>
> I will be adding new patches shortly to add an optional hack in daily
> which will supress the file system printout altogether in favor of
> telling you only when a particular _configurable_ percentage is
> exceeded for your file systems.
Please send them first to the list.
Right now the daily output should just contain a normal df -ki output.
Bernd