From owner-freebsd-hackers Tue Aug 13 02:32:38 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA03379 for hackers-outgoing; Tue, 13 Aug 1996 02:32:38 -0700 (PDT) Received: from egeo.unipg.it (egeo.unipg.it [141.250.1.4]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA03346; Tue, 13 Aug 1996 02:32:19 -0700 (PDT) Received: by egeo.unipg.it (AIX 3.2/UCB 5.64/MH-1.09) id AA08532; Tue, 13 Aug 1996 11:32:02 +0200 Date: Tue, 13 Aug 1996 11:32:02 +0200 From: peppe@unipg.it (Giuseppe Vitillaro) Message-Id: <9608130932.AA08532@egeo.unipg.it> To: freebsd-hackers@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: AIX/6000 fuser command Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk I found particulary useful im my experience the AIX "fuser" command. This little AIX command let to get the PIDs of the processes that are keeping open a file. If you use it for example on a syslog file like: fuser daemon.log daemon.log: 3461 you will get the PID of the syslogd daemon. Two related questions: (1) does an equivalent command exist under FreeBSD? (2) in the case the answer to the first question would be "NO", have the FreeBSD the primitives to build a tools like fuser? Thank in advance, Peppe.