On Fri, 12 Aug 2005 16:47:03 +0200, Sebastien Moretti <[EMAIL PROTECTED]> wrote:

Bonjour,
je suis a la recherche d'une commande qui me permettrait de savoir si un
fichier est en train d'etre lu. Et ce depuis des utilisateurs locaux,
des utilisateurs montant un repertoire en nfs, samba, ...

lsof fait ca, mais je ne sais pas si ca fonctionne avec nfs et samba... a tester !

[EMAIL PROTECTED] glehmann]# lsof "/home/glehmann/mp3/Musique/Led Zeppelin/Led Zeppelin IV/05-Misty Mountain Hop.mp3"
COMMAND  PID     USER   FD   TYPE DEVICE    SIZE    NODE NAME
artsd 7048 glehmann 13r REG 252,0 8826880 1620298 /home/glehmann/mp3/Musique/Led Zeppelin/Led Zeppelin IV/05-Misty Mountain Hop.mp3


Gaetan



--
Gaetan Lehmann <[EMAIL PROTECTED]>
Tel: +33 1 34 65 29 66
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
Web: http://voxel.jouy.inra.fr

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Répondre à