1 |
Okay that looks helpful. You just convinced me to install it :). That |
2 |
goes into a lot more depth than I'd imagined. |
3 |
|
4 |
Thanks! |
5 |
|
6 |
- Bryan |
7 |
|
8 |
On Fri, 9 Mar 2012 09:33:04 -0600 |
9 |
Paul Hartman <paul.hartman+gentoo@×××××.com> wrote: |
10 |
|
11 |
> On Fri, Mar 9, 2012 at 12:38 AM, Bryan Gardiner <bog@××××××.net> |
12 |
> wrote: |
13 |
> > On Thu, 08 Mar 2012 17:56:18 +0200 |
14 |
> > Nikos Chantziaras <realnc@×××××.de> wrote: |
15 |
> > |
16 |
> >> I discovered this nifty little tool recently that tells you if any |
17 |
> >> deleted files are currently being kept open by running processes: |
18 |
> >> "app-admin/checkrestart". I usually run it after world updates so |
19 |
> >> I can tell whether I need a restart or not. |
20 |
> > |
21 |
> > Because I'm too lazy to unkeyword and emerge it... Does this |
22 |
> > program show how much space is being used by deleted files? Or, is |
23 |
> > there a way to access more information about or even recover such a |
24 |
> > zombie file? lsof gives its inode number, but I have no idea how to |
25 |
> > access it from there. |
26 |
> |
27 |
> I just ran it, here's the output: |
28 |
> |
29 |
> Found 22 processes using old versions of upgraded files |
30 |
> (15 distinct programs) |
31 |
> (14 distinct packages) |
32 |
> |
33 |
> Of these, 10 seem to contain init scripts which can be used to |
34 |
> restart them: The following packages seem to have init scripts that |
35 |
> could be used to restart them: |
36 |
> sys-apps/smartmontools: |
37 |
> 5082 /usr/sbin/smartd |
38 |
> sys-auth/consolekit: |
39 |
> 4384 /usr/sbin/console-kit-daemon |
40 |
> app-text/dictd: |
41 |
> 4834 /usr/sbin/dictd |
42 |
> sys-fs/mdadm: |
43 |
> 3742 /sbin/mdadm |
44 |
> net-dns/unbound: |
45 |
> 4507 /usr/sbin/unbound |
46 |
> net-print/cups: |
47 |
> 4767 /usr/sbin/cupsd |
48 |
> sys-apps/dbus: |
49 |
> 4369 /usr/bin/dbus-daemon |
50 |
> net-misc/ntp: |
51 |
> 4975 /usr/sbin/ntpd |
52 |
> net-fs/samba: |
53 |
> 5015 /usr/sbin/smbd |
54 |
> 5045 /usr/sbin/smbd |
55 |
> 5021 /usr/sbin/nmbd |
56 |
> app-crypt/ekeyd: |
57 |
> 4851 /usr/libexec/ekeyd |
58 |
> |
59 |
> These are the init scripts: |
60 |
> /etc/init.d/smartd restart |
61 |
> /etc/init.d/consolekit restart |
62 |
> /etc/init.d/dictd restart |
63 |
> /etc/init.d/mdraid restart |
64 |
> /etc/init.d/mdadm restart |
65 |
> /etc/init.d/unbound restart |
66 |
> /etc/init.d/cupsd restart |
67 |
> /etc/init.d/dbus restart |
68 |
> /etc/init.d/ntpd restart |
69 |
> /etc/init.d/ntp-client restart |
70 |
> /etc/init.d/samba restart |
71 |
> /etc/init.d/ekey-egd-linux restart |
72 |
> /etc/init.d/ekeyd restart |
73 |
> |
74 |
> These processes do not seem to have an associated init script to |
75 |
> restart them: sys-fs/udisks: |
76 |
> 5357 /usr/libexec/udisks-daemon |
77 |
> 5350 /usr/libexec/udisks-daemon |
78 |
> sys-apps/util-linux: |
79 |
> 5223 /sbin/agetty |
80 |
> 5221 /sbin/agetty |
81 |
> 5222 /sbin/agetty |
82 |
> 5225 /sbin/agetty |
83 |
> 5224 /sbin/agetty |
84 |
> 27330 /sbin/agetty |
85 |
> sys-power/upower: |
86 |
> 5327 /usr/libexec/upowerd |
87 |
> sys-auth/polkit: |
88 |
> 4467 /usr/libexec/polkitd |
89 |
> |