[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Checking what running program are using old libraries



On Thu, 18 Mar 2004, Brian Brazil wrote:

> On Thu, Mar 18, 2004 at 10:03:34AM +0000, Ronny Adsetts wrote:
>
> > I remember someone posting a method for locating programs that are running
> > with old libraries, but don't recall where and I can't seem to find the
> > right words whilst invoking google...

Use lsof, it will tell you which programs are using a given library (among
many other things). I don't have a script right now, since what you want
is a one-liner with lsof, grep and redirection.

Bye
Giacomo

-- 
_________________________________________________________________

Giacomo Mulas <gmulas@ca.astro.it>
_________________________________________________________________

OSSERVATORIO ASTRONOMICO DI CAGLIARI
Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA)

Tel. (OAC): +39 070 71180 248     Fax : +39 070 71180 222
Tel. (UNICA): +39 070 675 4916
_________________________________________________________________

"When the storms are raging around you, stay right where you are"
                         (Freddy Mercury)
_________________________________________________________________



Reply to: