[comp.sys.sun] Source request: Users of NFS file system

chuck@trantor.harris-atd.com (Chuck Musciano) (07/12/90)

Does anyone know of a tool which will tell me which processes are
associated with with file system?  I seem to recall such a tool, but
cannot find it in the Sun Spots source archive.

The problem is that I am trying to umount an NFS file system but cannot
because it is "busy".  I can't find the process(es) which are currently in
the file system.  This tool would tell me the PIDs of the processes using
the file system.

Chuck Musciano				ARPA  : chuck@trantor.harris-atd.com
Harris Corporation 			Usenet: ...!uunet!x102a!trantor!chuck
PO Box 37, MS 3A/1912			AT&T  : (407) 727-6131
Melbourne, FL 32902			FAX   : (407) 729-2537

I'm glad you asked, son.  Being popular
	is the most important thing in the world.	-- Homer Simpson

sjk@ucbvax.berkeley.edu (Scott J. Kramer) (07/18/90)

| From:    Chuck Musciano <chuck@trantor.harris-atd.com>
|
|Does anyone know of a tool which will tell me which processes are
|associated with with file system?  I seem to recall such a tool, but
|cannot find it in the Sun Spots source archive.

SunOS 4.1 supposedly has `fuser', but it's not on the distribution tapes.
For that matter, neither is `getopts'.

Scott J. Kramer			inet:	pixar!sjk@ucbvax.Berkeley.EDU

guy@uunet.uu.net (Guy Harris) (07/22/90)

>SunOS 4.1 supposedly has `fuser', but it's not on the distribution tapes.

Did you check in "/usr/etc/fuser"?

>For that matter, neither is `getopts'.

"getopts" is a shell builtin, so it's on the distribution tapes; you
just have to look for "/usr/bin/sh", not "/usr/bin/getopts" or something
like that.