Tag Info

New answers tagged


A quick and dirty way on Linux (thanks to Lekensteyn): grep '/usr/lib/libssl1.*(deleted)' /proc/*/maps For precise parsing, you can call lsof with the -F option to get parsable output. Include the f field to filter on deleted files (fDEL) and the n field to get the path to the file. Note that the snippet below chokes on file names containing newlines. ...


I found two ways to do this: Debian-specific, lists most deleted/replaced files held by processes (with the exception of certain files known to be transient, e.g. stuff in /tmp): The debian-goodies package contains checkrestart, which accomplishes something like what I've described by scraping the output of lsof to find open files that are gone or replaced ...

Top 50 recent answers are included