Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Disk usage during emerge
Date: Fri, 09 Mar 2012 17:11:50
Message-Id: CAK2H+efbHP_8MT2rMw3nCGrpuQKz7v+kYSMA2ZkGRLfvgr74Fw@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Disk usage during emerge by Paul Hartman
1 On Fri, Mar 9, 2012 at 7:33 AM, Paul Hartman
2 <paul.hartman+gentoo@×××××.com> wrote:
3 > On Fri, Mar 9, 2012 at 12:38 AM, Bryan Gardiner <bog@××××××.net> wrote:
4 >> On Thu, 08 Mar 2012 17:56:18 +0200
5 >> Nikos Chantziaras <realnc@×××××.de> wrote:
6 >>
7 >>> I discovered this nifty little tool recently that tells you if any
8 >>> deleted files are currently being kept open by running processes:
9 >>> "app-admin/checkrestart".  I usually run it after world updates so I
10 >>> can tell whether I need a restart or not.
11 >>
12 >> Because I'm too lazy to unkeyword and emerge it...  Does this program
13 >> show how much space is being used by deleted files?  Or, is there a way
14 >> to access more information about or even recover such a zombie file?
15 >> lsof gives its inode number, but I have no idea how to access it from
16 >> there.
17 >
18 > I just ran it, here's the output:
19 >
20 > Found 22 processes using old versions of upgraded files
21 > (15 distinct programs)
22 > (14 distinct packages)
23 >
24
25 Is there a way inside of checkrestart to determine exactly which
26 processes it's telling you about? When I installed it at on Niko's
27 suggestion I had one package but I couldn't figure out which it was. A
28 reboot fixed that.
29
30 Thanks,
31 Mark

Replies

Subject Author
Re: [gentoo-user] Re: Disk usage during emerge Bryan Gardiner <bog@××××××.net>