SUMMARY: What files are NFS mounted?

From: dan balza (danba@pogo.wv.tek.com)
Date: Mon Feb 08 1993 - 11:04:15 CST


Thanks to all who replied.

I found there are 2 public domain packages that will
give you the information for what processes have a file
system NFS mounted when using the automounter (otherwise you would
know, right?). Both packages built very easily on my SS 2 running
4.1.2. There is also an interesting command called fuser that is
part of the Sun OS.

The first is lsof which is an updated version of ofiles. Here is part of
the man page:

DESCRIPTION
     Lsof lists information about files opened by processes for
     the following operating systems:

          AIX 3.1.3, 3.1.5 and 3.1.7 for the IBM RISC/System 6000
          Dynix 3.0.12 and 3.1.2 for the Sequent Symmetry S81
          HP-UX 7.x for the Hewlett Packard 9000/300 and 9000/800
          HP-UX 8.x for the Hewlett Packard 9000/300, 9000/700 and 9000/800
          NeXTStep 2.0 and 2.1 for the NeXT Work Station
          SunOS 4.1.1

     An open file may be a regular file, a directory, a character
     special file, or a network file (Internet socket, NFS file
     or Unix domain socket.) A specific file may be selected by
     its path name.

The second was called kstuff. Here is an excerpt from the README:

This package includes, among other things: load, a fast version of
uptime; pff, an improved replacement for ofiles/fstat; authd, a revised
version of the RFC 931 server; netstatuids, a version of netstat plus
usernames on both sides; kmem, nlist, strerr, and u area libraries; the
authuser library.

Lsof was easy to find with archie. Kstuff was found at:
wuarchive.wustl.edu:usenet/alt.sources/articles/{329{6,7,8,9},330{0,1}}.Z

Thanks again,

Dan Balza
Tektronix



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:27 CDT