1 |
On Thu, 8 Mar 2012 22:01:57 +0200, Alan McKinnon wrote: |
2 |
|
3 |
> > I discovered this nifty little tool recently that tells you if any |
4 |
> > deleted files are currently being kept open by running processes: |
5 |
> > "app-admin/checkrestart". I usually run it after world updates so I |
6 |
> > can tell whether I need a restart or not. |
7 |
|
8 |
> Why go to the effor tof emerging another package? Use what you already |
9 |
> have: |
10 |
> |
11 |
> lsof | egrep '(deleted)$' |
12 |
|
13 |
Unless you already have checkrestart installed for its intended use, it's |
14 |
a lot better than grep for that. |
15 |
|
16 |
I hadn't thought of using it for this, nice idea. |
17 |
|
18 |
|
19 |
-- |
20 |
Neil Bothwick |
21 |
|
22 |
Don't cry because it's over. Smile because it happened. |