fuser man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

fuser(1M)							     fuser(1M)

       fuser - list processes using a file or file structure

       file ... file ...] ...

       The command lists the process IDs of processes that have each specified
       file open.  For block special devices, all processes using any file  on
       that  device  are  listed.  The process ID may be followed by a letter,
       identifying how the file is being used, as follows:

	      file   is current directory of the process.

	      file   is the root directory of the process, as set  up  by  the
		     command (see chroot(1M)).

	      The process has
		     file open.

	      The process has
		     file memory mapped.

	      file   is the text file of the process.

       The  process IDs associated with each file are printed to standard out‐
       put as a single line separated by spaces and terminated with  a	single
       newline.	  All  other  output — the file name, the letter, and the user
       name — is written to standard error.

       has the following options:

	      Display the use of a mount point and any file beneath that
		     mount point.  Each file  must  be	a  file	 system	 mount

	      Display the use of the named file only,
		     not  the files beneath it if it is a mounted file system.
		     This is the default.

	      Display the  login  user	name  in  parentheses  following  each
	      process ID.

	      Send the
		     signal  to	 each  process using each file.	 You must have
		     appropriate privileges to kill processes that you do  not

       You  can	 respecify  options  between  groups of files.	The new set of
       options replaces the old set.  A dash by	 itself	 cancels  all  options
       currently in force.

       has the following operand:

	      file   One of the following values:

		     ·	With the option, the name of a file.

		     ·	With  the option, the name of a mounted file system or
			special file.

		     ·	With the option, the  name  of	a  file	 system	 mount

       You can use with NFS file systems or files.  If the file name is in the
       format used in to identify an NFS file system, treats the NFS file sys‐
       tem  as	a  block  special device and identifies any process using that
       file system.

       If contact with an NFS file system is lost,  fails,  since  contact  is
       required	 to  obtain the file system identification.  Once the NFS file
       system is recontacted, stale file handles from the previous contact can
       be identified, provided that the NFS file system has the same file sys‐
       tem identification.

       Terminate all processes that are preventing disk	 drive	1  from	 being
       unmounted,  listing the process ID and login name of each process being

       List process IDs and login names of processes that  have	 the  password
       file open.

       Combine both the above examples into a single command line.

       If  the	device	is mounted on directory list the process IDs and login
       names of processes using the device.   Alternately,  if	is  the	 mount
       point  for an NFS file system, list process IDs and login names of pro‐
       cesses using that NFS file system.

       If is an NFS file system, list all processes using  any	file  on  that
       file  system.   If  it is not an NFS file system, treat it as a regular

       ps(1), mount(1M), kill(2), signal(2).


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net