Newsgroups: comp.unix.questions Path: utzoo!utgpu!cunews!dgbt!rick.doc.ca!calvin.doc.ca!andrew From: andrew@calvin.doc.ca (Andrew Patrick) Subject: Re: How determine if a file is opened by another process Message-ID: <1991Feb1.144359.6321@rick.doc.ca> Keywords: file open Sender: news@rick.doc.ca Nntp-Posting-Host: calvin.doc.ca Organization: Communications Research Centre, Ottawa References: <1488@nixsin.UUCP> <1991Jan29.204403.6071@rick.doc.ca> <1969@winnie.fit.edu> Date: Fri, 1 Feb 1991 14:43:59 GMT In article <1969@winnie.fit.edu> rrandall@zach.fit.edu (Rick Randall) writes: >In article <1991Jan29.204403.6071@rick.doc.ca> andrew@calvin.doc.ca (Andrew Patrick) writes: >>In article <1488@nixsin.UUCP> koerber.sin@nixdorf.com writes: >> >>>I want to find out, whether any process has opened a file, of which I only >>>Could anyone pls give me a hint ?. Maybe it's in a table in the kernel ? >> >>I need to know this too! >> > > ANSWER: man fuser Nice answer: calvin.doc.ca /home/andrew> man fuser No manual entry for fuser. "calvin.doc.ca" is a Sun running SunOS 4.0.3c dgbt.doc.ca /usr/users/u0/patrick> man fuser No manual entry for fuser. "dgbt.doc.ca" is a VAX running Ultrix 3.1 -- Andrew Patrick, Ph.D. Department of Communications, Ottawa, CANADA andrew@calvin.doc.CA "The interface IS the program."