<P> The command can also be used to check what processes are using a network port: </P> <P> The command returns a non-zero code if none of the files are accessed or in case of a fatal error . If at least one access has succeeded, fuser returns zero . The output of "fuser" may be useful in diagnosing "resource busy" messages arising when attempting to unmount filesystems . </P> <Dl> <Dt> - k </Dt> <Dd> kills all process accessing a file . For example, fuser - k / path / to / your / filename kills all processes accessing this directory without confirmation . Use - i for confirmation </Dd> <Dt> - i </Dt> <Dd> interactive mode . Prompt before killing process </Dd> <Dt> - v </Dt> <Dd> verbose . </Dd> <Dt> - u </Dt> <Dd> append username </Dd> <Dt> - a </Dt> <Dd> display all files </Dd> <Dt> - m </Dt> <Dd> name specifies a file on a mounted file system or a block device that is mounted . All processes accessing files on that file system are listed . If a directory file is specified, it is automatically changed to name /. to use any file system that might be mounted on that directory . </Dd> </Dl> <Dd> kills all process accessing a file . For example, fuser - k / path / to / your / filename kills all processes accessing this directory without confirmation . Use - i for confirmation </Dd>

Linux see which process is using a device