From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 5 05:59:25 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2330D106566B for ; Fri, 5 Feb 2010 05:59:25 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id C238D8FC15 for ; Fri, 5 Feb 2010 05:59:24 +0000 (UTC) Received: by vws11 with SMTP id 11so1555159vws.13 for ; Thu, 04 Feb 2010 21:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=vjADO+wtgGNBiCuMlbENcZ9wARCVyhrOBICHsXME7ig=; b=xuPKfBdNqoHF0Uk2+7uN8+FRioMo+lBrO60koJOItokruTp1H422aWQ9lzFrBmrfA4 oUCtVH8iq+9MH2/Na9sMWpDwzSxQe+LAl3oJG+RueOkjyQtIUUUVOvOhu39LEPFSE9wO XGpYOIHC3rO2+rP0ebXn1IoS7QyuwyJwVlTN0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=SyEBRflzgJEn4AYeRZPbIiviQyde4UO9jiGMH10qy/DVoRvn+qnxw4qRGFnOz356Jj qKGJRVZS0ULuEYdG9SMbWhgBgSdDtvj+W+u8l58BN+9gnOfJuoFksGv5LDzI58aNIdk7 ScZCDfhU3l382lcnv0irDJ8dPGsYCiUO7CYIw= Received: by 10.220.122.169 with SMTP id l41mr4136973vcr.115.1265349562833; Thu, 04 Feb 2010 21:59:22 -0800 (PST) Received: from centel.dataix.local (ppp-21.177.dialinfree.com [209.172.21.177]) by mx.google.com with ESMTPS id 28sm8348520vws.1.2010.02.04.21.59.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Feb 2010 21:59:21 -0800 (PST) Sender: "J. Hellenthal" Date: Fri, 5 Feb 2010 00:59:06 -0500 From: jhell To: "Jason A. Spiro" In-Reply-To: Message-ID: References: <200902251724.40212.fbsd.hackers@rachie.is-a-geek.net> <20100204115505.GA5272@tops.skynet.lt> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Ed Schouten , Gleb Kurtsou , Xin LI , eitanadlerlist@gmail.com, FreeBSD Hackers Subject: Re: [PATCH] Support for thresholds in du(1) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2010 05:59:25 -0000 On Thu, 4 Feb 2010 23:51, jasonspiro4@ wrote: > On Thu, Feb 4, 2010 at 9:30 PM, jhell 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? > 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. ;) > ^ [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 > -- jhell