On Thu, 8 Mar 2012 22:01:57 +0200, Alan McKinnon 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.

> Why go to the effor tof emerging another package? Use what you already
> have:
> 
> lsof | egrep '(deleted)$'

Unless you already have checkrestart installed for its intended use, it's
a lot better than grep for that.

I hadn't thought of using it for this, nice idea.


-- 
Neil Bothwick

Don't cry because it's over. Smile because it happened.

Attachment: signature.asc
Description: PGP signature

Reply via email to