[PATCH] Support for thresholds in du(1)
jhell at DataIX.net
Fri Feb 5 05:59:25 UTC 2010
On Thu, 4 Feb 2010 23:51, jasonspiro4@ wrote:
> 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 for [ disk usage ].
> It reveals many tools that look even better, including ncdu which
> doesn't require Xorg. But I doubt that any of them ship with FreeBSD
> by default.
> I think the du manpage'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?
To me it is a annoyance when I see a man page reference something that is
not already installed on the system especially if it does not reference a
URL. Back end utilities should really only list their friends in see also
and not friends of friends and their friends. ;)
My favorite that can run on anything that can run java jre/jdk
is sysutils/jdiskreport. Although certain WM's do not work well with java
this is a very portable utility.
>> 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?
Yeah. I am more of a lean practitioner so I try to always look for the
best way or if you will the least hands on way of managing things. In this
case the less code that has to be merged upon update the better and more
time that is available to developers to work on much needed other tasks.
Five minutes not opening a editor and merging code could better be used
getting a cup of coffee to stay awake while hacking on ZFS or utmpx rather
than pkill or du. ;)
> ^ . http://freshmeat.net/search/?q=disk+usage
> ^ . http://freshmeat.net/projects/ncdu
> ^ . http://www.freebsd.org/cgi/man.cgi?query=du&manpath=FreeBSD+9.0-CURRENT
More information about the freebsd-hackers