Newsgroups: comp.archives Path: utzoo!utgpu!news-server.csri.toronto.edu!math.lsa.umich.edu!caen!ox.com!emv From: mogul@bacchus.pa.dec.com (Jeffrey Mogul) Subject: [ultrix] Re: Showing files a process has open. Message-ID: <1990Dec4.173955.27672@ox.com> Followup-To: comp.unix.ultrix Sender: emv@ox.com (Edward Vielmetti) Reply-To: mogul@bacchus.pa.dec.com (Jeffrey Mogul) Organization: DEC Western Research References: <1990Nov10.225213.2706@chinet.chi.il.us> <1990Dec4.032825.20498@pa.dec.com> Date: Tue, 4 Dec 90 17:39:55 GMT Approved: emv@ox.com (Edward Vielmetti) X-Original-Newsgroups: comp.unix.ultrix Archive-name: unix/admin/ofiles/1990-12-04 Archive: gatekeeper.dec.com:pub/DEC/ofiles.tar.Z [16.1.0.2] Original-posting-by: mogul@bacchus.pa.dec.com (Jeffrey Mogul) Original-subject: Re: Showing files a process has open. Reposted-by: emv@ox.com (Edward Vielmetti) In article <1990Nov10.225213.2706@chinet.chi.il.us> garret@chinet.chi.il.us (Garret Toomey) writes: > >We need a way to list the names of files that a process >has open. We are running Ultrix 4.0 on Decstations (2100, >3100, 5000), and on DECsystems (5400, 58x0). > >I know a program "fuser" could do this under SVR3 or so. >Does an Ultrix version exist ? > >We discovered "/usr/bin/crash" can list the file descriptors, >but have been unable to get crash to tell us the file >names involved. Can crash do this ? > There is a program called "ofiles", written a bunch of people over the years, that I have ported to Ultrix 4.0 (MIPS and Vax). Or, at least I think my port works. I haven't tested the "feature" that allows you to run ofiles on a crash dump; I've only tried it on a live system. Anyway, the sources are available on gatekeeper.dec.com:pub/DEC/ofiles.tar.Z -Jeff Brought to you by Super Global Mega Corp .com