public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Disk usage during emerge
Date: Fri, 9 Mar 2012 09:33:04 -0600	[thread overview]
Message-ID: <CAEH5T2OkrJVc7=4s7diT4yXfuz7whsjCJsHD5PK4XSjKD0YuZw@mail.gmail.com> (raw)
In-Reply-To: <20120308223837.3fa6c0a1@khumba.net>

On Fri, Mar 9, 2012 at 12:38 AM, Bryan Gardiner <bog@khumba.net> wrote:
> On Thu, 08 Mar 2012 17:56:18 +0200
> Nikos Chantziaras <realnc@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



  reply	other threads:[~2012-03-09 15:34 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-08  2:57 [gentoo-user] Disk usage during emerge Frank Steinmetzger
2012-03-08  5:38 ` Paul Hartman
2012-03-08  6:08   ` Bryan Gardiner
2012-03-08  7:53 ` Julian Simioni
2012-03-08  7:54   ` Julian Simioni
2012-03-08 10:50 ` [gentoo-user] " Nikos Chantziaras
2012-03-08 14:55   ` Frank Steinmetzger
2012-03-08 15:56     ` Nikos Chantziaras
2012-03-08 20:01       ` Alan McKinnon
2012-03-08 23:42         ` walt
2012-03-09  0:05           ` Alan McKinnon
2012-03-09  0:28             ` Neil Bothwick
2012-03-09  0:29         ` Neil Bothwick
2012-03-09  6:38       ` Bryan Gardiner
2012-03-09 15:33         ` Paul Hartman [this message]
2012-03-09 16:45           ` Bryan Gardiner
2012-03-09 17:09           ` Mark Knecht
2012-03-10  2:46             ` Bryan Gardiner
2012-03-10  2:49               ` Bryan Gardiner
2012-03-10 19:27               ` Mark Knecht
2012-03-10 19:40                 ` Mark Knecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEH5T2OkrJVc7=4s7diT4yXfuz7whsjCJsHD5PK4XSjKD0YuZw@mail.gmail.com' \
    --to=paul.hartman+gentoo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox