On Tue, Dec 09, 2003 at 07:27:09PM +0100, Markus Gaugusch wrote: > I have a little question about SuSE 9.0/RPMv4. As an example, I'll assume > that the user has updated his ssh daemon with a new version (security > update). > In previous versions, the old sshd was renamed by the RPM system and the > new version was put in its place. The old version was deleted afterwards. > If the application was still running, the deleted file was still shown by > lsof and marked as (deleted). From that, I could tell whether an old > version was still running or not. > With SuSE 9.0 this has changed and I can't see the deleted files anymore > (at least not with lsof). Therefore I wonder, how I can find out if an old Hmm, works for me: $ cat > testfile & rm testfile; lsof | grep testfile [1] 24326 [1]+ Stopped cat >testfile cat 24326 robert 1w REG 8,1 0 164133 /home/robert/testfile (deleted) $ Robert -- Robert Schiele Tel.: +49-621-181-2517 Dipl.-Wirtsch.informatiker mailto:rschiele@xxxxxxxxxxxxxxx
Attachment:
pgpswCn2eg6sX.pgp
Description: PGP signature