NAME
showmount - 显示关于 NFS 服务器文件系统挂载的信息
总览
/usr/sbin/showmount [ -adehv ] [ --all ] [ --directories ] [ --exports ] [ --help ] [ --version ] [ host ]
描述
showmount showmount 在远程主机上查询关于该 NFS 服务器的挂载进程状态。如果不使用任何参数, showmount 显示所有从该服务器上挂载到本地的客户清单。 showmount 的输出格式设计成类似于经过 ``sort -u'' 命令格式化后一样。
选项
- -a或--all
- 以 host:dir 这样的格式来显示客户主机名和挂载点目录。
- -d或--directories
- 仅显示被客户挂载的目录名。
- -e或--exports
- 显示NFS服务器的输出清单。
- -h或--help
- 显示帮助信息。
- -v或--version
- 显示版本信。
- --no-headers
- 禁止输出描述头部信息。
参见
rpc.mountd(8), rpc.nfsd(8)
#p#
NAME
showmount - show mount information for an NFS server
SYNOPSIS
/usr/sbin/showmount [ -adehv ] [ --all ] [ --directories ] [ --exports ] [ --help ] [ --version ] [ host ]
DESCRIPTION
showmount queries the mount daemon on a remote host for information about the state of the NFS server on that machine. With no options showmount lists the set of clients who are mounting from that host. The output from showmount is designed to appear as though it were processesed through ``sort -u''.
OPTIONS
- -a or --all
- List both the client hostname and mounted directory in host:dir format.
- -d or --directories
- List only the directories mounted by some client.
- -e or --exports
- Show the NFS server's export list.
- -h or --help
- Provide a short help summary.
- -v or --version
- Report the current version number of the program.
- --no-headers
- Suppress the descriptive headings from the output.
SEE ALSO
rpc.mountd(8), rpc.nfsd(8)