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 1S61q4-0002JQ-8H for garchives@archives.gentoo.org; Fri, 09 Mar 2012 15:34:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F2CAE0747; Fri, 9 Mar 2012 15:34:30 +0000 (UTC) Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com [209.85.215.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 416D5E086A for ; Fri, 9 Mar 2012 15:33:24 +0000 (UTC) Received: by lahc1 with SMTP id c1so1922705lah.40 for ; Fri, 09 Mar 2012 07:33:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=/NVnmMvysEXIrQrhCYIRguiJqwRHyNJQVOzr1PcOZu8=; b=gWavQVAAaYaBgc/kzDN4A+ukDHzguHZGrbzgJ6QxeefOygtIwvpWt2ncmbCmM51Vko CIUMgH3QRQT38kMJvKwXa4RgUZpYJ/WEMlwzuvQkenm2qGOugfwXOzUK0/dDqEe6hmrx hc++baxkfeBq2WvVJo5SNMBWB5AKo+FLQTe4I+uVQCGXBvas7RoHbHDaNij3ugaBTo9q jATM/9y3ra5mqLgfb72SHq3bx+G3EX7qq0TuIJI6ys14Lvubf1g4WzKq7Ue2b0bG3MOT LruXiuUn4IKi/DyVoSUlBk/ERjJKlnrfFWTUd6XiIy+PWFeeo8iRdUv8oma7aLR84WDf H9KQ== Received: by 10.152.135.104 with SMTP id pr8mr1923101lab.27.1331307204204; Fri, 09 Mar 2012 07:33:24 -0800 (PST) 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 Sender: paul.hartman@gmail.com Received: by 10.112.11.139 with HTTP; Fri, 9 Mar 2012 07:33:04 -0800 (PST) In-Reply-To: <20120308223837.3fa6c0a1@khumba.net> References: <20120308025700.GA11477@eisen.lan> <20120308145526.GA3771@eisen.lan> <20120308223837.3fa6c0a1@khumba.net> From: Paul Hartman Date: Fri, 9 Mar 2012 09:33:04 -0600 X-Google-Sender-Auth: BkcJwsTLVpfLYxe79nYHlyTovj8 Message-ID: Subject: Re: [gentoo-user] Re: Disk usage during emerge To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 53c2bd3f-26bd-45e6-8a67-b207d774fab8 X-Archives-Hash: 90b9ea33bdafbcc98e49f28941ac9b4d 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. I just ran it, here's the output: Found 22 processes using old versions of upgraded files (15 distinct programs) (14 distinct packages) 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 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 These processes do not seem to have an associated init script to restart th= em: 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