How to judge a file has already opened by other programme?



I to fine out whether the file has already opened by other programme.
But there is not ready-made API in linux to gain this information
directily. It's seems the only way to gain this information is to
access the directory /proc. But this method is too complicate,so What
can I do in convenient way to judge a file has already opened by other
programme.

.



Relevant Pages

  • Re: How to judge a file has already opened by other programme?
    ... But there is not ready-made API in linux to gain this information ... man lsof ...
    (alt.os.linux.redhat)
  • Re: Vista oder XP auf Notebook?
    ... Du meinst vor Allem Linux. ... Treiber programmiert - vor allem wenn die Hersteller keine Specs ... "Multimedia" auf Vista umzusteigen. ... Ansonsten leiden manche Programme auch unter Vista an mangelnden ...
    (de.comp.sys.notebooks)
  • Re: [Emacs] Zusatzpakete einbinden
    ... dass man auch auf Windows Unixoides lernt, wenn man Programme aus dem ... Wie ich die Daten auf News-Archivator-Programm-X auf Linux bringe, ... INN oder Leafnode und Gnus) nicht realisierbar. ... Betriebssystem oder eine Gegensprache gegen ein Betriebssystem, ...
    (de.comp.editoren)
  • Re: Warum nur ist das alles so =?UTF-8?B?YmzDtmQ/?=
    ... somit wird da die Umstellung auch eher unangenehm... ... bereits viel zu viele Programme was in $HOME ab. ... Bei Windows ist das ja einfach. ... dass Linux und Windows den Dateityp auf unterschiedliche Weise ermitteln. ...
    (de.comp.os.unix.linux.misc)
  • Re: Macbook Pro und Linux
    ... Nimm vielleicht ... Kinderkrankheiten, die _alles_ was GUI ist unter Linux hat, nutz Mac OS ... können verdammt viele Programme mit einander interagieren, ...
    (de.comp.sys.mac.misc)