From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S62yI-0003Q5-O1 for garchives@archives.gentoo.org; Fri, 09 Mar 2012 16:47:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5227EE09ED; Fri, 9 Mar 2012 16:47:05 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by pigeon.gentoo.org (Postfix) with ESMTP id 244FAE08D5 for ; Fri, 9 Mar 2012 16:46:03 +0000 (UTC) Received: from localhost (c-24-18-250-30.hsd1.wa.comcast.net [24.18.250.30]) by smtp.webfaction.com (Postfix) with ESMTP id 8737F209FC94 for ; Fri, 9 Mar 2012 10:46:02 -0600 (CST) Date: Fri, 9 Mar 2012 08:45:30 -0800 From: Bryan Gardiner To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Disk usage during emerge Message-ID: <20120309084530.7025baf1@khumba.net> In-Reply-To: References: <20120308025700.GA11477@eisen.lan> <20120308145526.GA3771@eisen.lan> <20120308223837.3fa6c0a1@khumba.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.8; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 333b702a-8dc7-44b1-aea1-5c95f12b8bed X-Archives-Hash: 95d9152a60e1172a0b18f35ffcbbf056 Okay that looks helpful. You just convinced me to install it :). That goes into a lot more depth than I'd imagined. Thanks! - Bryan On Fri, 9 Mar 2012 09:33:04 -0600 Paul Hartman wrote: > On Fri, Mar 9, 2012 at 12:38 AM, Bryan Gardiner > wrote: > > On Thu, 08 Mar 2012 17:56:18 +0200 > > Nikos Chantziaras wrote: > > > >> I discovered this nifty little tool recently that tells you if any > >> deleted files are currently being kept open by running processes: > >> "app-admin/checkrestart". =A0I usually run it after world updates so > >> I can tell whether I need a restart or not. > > > > Because I'm too lazy to unkeyword and emerge it... =A0Does this > > program show how much space is being used by deleted files? =A0Or, is > > there a way to access more information about or even recover such a > > zombie file? lsof gives its inode number, but I have no idea how to > > access it from there. >=20 > I just ran it, here's the output: >=20 > Found 22 processes using old versions of upgraded files > (15 distinct programs) > (14 distinct packages) >=20 > Of these, 10 seem to contain init scripts which can be used to > restart them: The following packages seem to have init scripts that > could be used to restart them: > sys-apps/smartmontools: > 5082 /usr/sbin/smartd > sys-auth/consolekit: > 4384 /usr/sbin/console-kit-daemon > app-text/dictd: > 4834 /usr/sbin/dictd > sys-fs/mdadm: > 3742 /sbin/mdadm > net-dns/unbound: > 4507 /usr/sbin/unbound > net-print/cups: > 4767 /usr/sbin/cupsd > sys-apps/dbus: > 4369 /usr/bin/dbus-daemon > net-misc/ntp: > 4975 /usr/sbin/ntpd > net-fs/samba: > 5015 /usr/sbin/smbd > 5045 /usr/sbin/smbd > 5021 /usr/sbin/nmbd > app-crypt/ekeyd: > 4851 /usr/libexec/ekeyd >=20 > These are the init scripts: > /etc/init.d/smartd restart > /etc/init.d/consolekit restart > /etc/init.d/dictd restart > /etc/init.d/mdraid restart > /etc/init.d/mdadm restart > /etc/init.d/unbound restart > /etc/init.d/cupsd restart > /etc/init.d/dbus restart > /etc/init.d/ntpd restart > /etc/init.d/ntp-client restart > /etc/init.d/samba restart > /etc/init.d/ekey-egd-linux restart > /etc/init.d/ekeyd restart >=20 > These processes do not seem to have an associated init script to > restart them: sys-fs/udisks: > 5357 /usr/libexec/udisks-daemon > 5350 /usr/libexec/udisks-daemon > sys-apps/util-linux: > 5223 /sbin/agetty > 5221 /sbin/agetty > 5222 /sbin/agetty > 5225 /sbin/agetty > 5224 /sbin/agetty > 27330 /sbin/agetty > sys-power/upower: > 5327 /usr/libexec/upowerd > sys-auth/polkit: > 4467 /usr/libexec/polkitd >=20