Fedora Legacy Test Update Notification: openssl095a

Michal Jaegermann michal at harddata.com
Tue Mar 23 22:01:03 UTC 2004


On Tue, Mar 23, 2004 at 04:05:18PM -0500, Chip Turner wrote:
> 
> As an exercise I once wrote this script to detect any running
> processes that had mmap'd any files that were removed.

Ouch!  This was a long exercise.  For quite a while I am using
something like that:

#!/bin/bash
grep -a deleted /proc/*/maps | sed -e '/SYSV0/d' -e 's,/maps:.*,,' | \
sort -u | while read p ; do
    echo $p ; ps uww --no-headers $(echo $p | sed 's,.*/,,')
done

Another possibility to identify names would be to do simply
"cat $p/cmdline && echo" but this eats white space - which is often
not nice.

    Michal





More information about the fedora-legacy-list mailing list