Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!udel!haven!decuac!pa.dec.com!mogul From: mogul@bacchus.pa.dec.com (Jeffrey Mogul) Newsgroups: comp.unix.ultrix Subject: Re: Showing files a process has open. Message-ID: <1990Dec4.032825.20498@pa.dec.com> Date: 4 Dec 90 03:28:25 GMT References: <1990Nov10.225213.2706@chinet.chi.il.us> Sender: mogul@pa.dec.com (Jeffrey Mogul) Organization: DEC Western Research Lines: 21 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