mogul@bacchus.pa.dec.com (Jeffrey Mogul) (12/05/90)
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