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 <paul.hartman+gen...@gmail.com> wrote: > On Fri, Mar 9, 2012 at 12:38 AM, Bryan Gardiner <b...@khumba.net> > wrote: > > On Thu, 08 Mar 2012 17:56:18 +0200 > > Nikos Chantziaras <rea...@arcor.de> 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". I 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... Does this > > program show how much space is being used by deleted files? Or, 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 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 >