[PATCH] Support for thresholds in du(1)

Jason A. Spiro jasonspiro4 at gmail.com
Fri Feb 5 04:51:43 UTC 2010


On Thu, Feb 4, 2010 at 9:30 PM, jhell <jhell at dataix.net> wrote:

> I like it!.

It looks like a really useful option.  Though if you really need to
free up a lot of space, try a Freshmeat search[1] for [ disk usage ].
It reveals many tools that look even better, including ncdu[2] which
doesn't require Xorg.  But I doubt that any of them ship with FreeBSD
by default.

I think the du manpage[3]'s "SEE ALSO" section should be revised to
include ncdu(1), xdiskusage(1), baobab(1), and kdirstat(1).  (Baobab
requires Gnome, and KDirStat requires KDE.)  What do you think?

> This certainly reduces some piping but as long as it is not
> integrated upstream it will only become more of a responsibility on
> FreeBSD's behalf to maintain it. If someone has the original authors email
> address I would say lets include him on this and see what he thinks.
>
> This would probably be the same for the pkill thread that I am involved in
> to. CC'ing responsible party for that thread.

What do you mean?  Do you mean that maintaining half a dozen lines of
extra code added to pkill(1) would be a burden for the FreeBSD team?
:)

^  [1].  http://freshmeat.net/search/?q=disk+usage
^  [2].  http://freshmeat.net/projects/ncdu
^  [3].  http://www.freebsd.org/cgi/man.cgi?query=du&manpath=FreeBSD+9.0-CURRENT


More information about the freebsd-hackers mailing list