[comp.unix.ultrix] Showing files a process has open.

garret@chinet.chi.il.us (Garret Toomey) (11/11/90)

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 ?

Thanks.

  garret@chinet.chi.il.us    or
  ...!decwrl!ks25!garret     or
  garret%ks25.uucp@decwrl.dec.com   or
  garret@ks25.chi.il.us (maybe)

mogul@bacchus.pa.dec.com (Jeffrey Mogul) (12/04/90)

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