{
    "content": [
        {
            "type": "text",
            "text": "# showmount (man)\n\n## NAME\n\nshowmount - show mount information for an NFS server\n\n## DESCRIPTION\n\nshowmount queries the mount daemon on a remote host for information about the  state  of  the\nNFS  server  on  that  machine.   With  no options showmount lists the set of clients who are\nmounting from that host.  The output from showmount is designed to appear as though  it  were\nprocessed through ``sort -u''.\n\n## TLDR\n\n> Display mount information for an NFS server.\n\n- Show clients currently mounting from the server:\n  `showmount {{hostname}}`\n- Show the NFS server's export list:\n  `showmount {{-e|--exports}} {{hostname}}`\n- Show all clients and their mounted directories:\n  `showmount {{-a|--all}} {{hostname}}`\n- Show only the directories mounted by clients:\n  `showmount {{-d|--directories}} {{hostname}}`\n- Show the export list without headers:\n  `showmount {{-e|--exports}} --no-headers {{hostname}}`\n- Display help:\n  `showmount {{-h|--help}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS** (2 subsections)\n- **DESCRIPTION**\n- **OPTIONS** (6 subsections)\n- **SEE ALSO**\n- **BUGS**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "showmount",
        "section": "",
        "mode": "man",
        "summary": "showmount - show mount information for an NFS server",
        "synopsis": "",
        "tldr_summary": "Display mount information for an NFS server.",
        "tldr_examples": [
            {
                "description": "Show clients currently mounting from the server",
                "command": "showmount {{hostname}}"
            },
            {
                "description": "Show the NFS server's export list",
                "command": "showmount {{-e|--exports}} {{hostname}}"
            },
            {
                "description": "Show all clients and their mounted directories",
                "command": "showmount {{-a|--all}} {{hostname}}"
            },
            {
                "description": "Show only the directories mounted by clients",
                "command": "showmount {{-d|--directories}} {{hostname}}"
            },
            {
                "description": "Show the export list without headers",
                "command": "showmount {{-e|--exports}} --no-headers {{hostname}}"
            },
            {
                "description": "Display help",
                "command": "showmount {{-h|--help}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-a",
                "long": "--all",
                "arg": null,
                "description": "List both the client hostname or IP address and mounted directory in host:dir format. This info should not be considered reliable. See the notes on rmtab in rpc.mountd(8)."
            },
            {
                "flag": "-d",
                "long": "--directories",
                "arg": null,
                "description": "List only the directories mounted by some client."
            },
            {
                "flag": "-e",
                "long": "--exports",
                "arg": null,
                "description": "Show the NFS server's export list."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Provide a short help summary."
            },
            {
                "flag": "-v",
                "long": "--version",
                "arg": null,
                "description": "Report the current version number of the program."
            },
            {
                "flag": "",
                "long": "--no-headers",
                "arg": null,
                "description": "Suppress the descriptive headings from the output."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "rpc.mountd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/rpc.mountd/8/json"
            },
            {
                "name": "rpc.nfsd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/rpc.nfsd/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "showmount  [ -adehv ]  [ --all ]  [ --directories ]  [ --exports ]  [ --help ]  [ --version ]",
                        "lines": 1
                    },
                    {
                        "name": "[ host ]",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-a --all",
                        "lines": 3,
                        "flag": "-a",
                        "long": "--all"
                    },
                    {
                        "name": "-d --directories",
                        "lines": 2,
                        "flag": "-d",
                        "long": "--directories"
                    },
                    {
                        "name": "-e --exports",
                        "lines": 2,
                        "flag": "-e",
                        "long": "--exports"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-v --version",
                        "lines": 2,
                        "flag": "-v",
                        "long": "--version"
                    },
                    {
                        "name": "--no-headers",
                        "lines": 2,
                        "long": "--no-headers"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "showmount - show mount information for an NFS server\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "",
                "subsections": [
                    {
                        "name": "showmount  [ -adehv ]  [ --all ]  [ --directories ]  [ --exports ]  [ --help ]  [ --version ]",
                        "content": ""
                    },
                    {
                        "name": "[ host ]",
                        "content": ""
                    }
                ]
            },
            "DESCRIPTION": {
                "content": "showmount queries the mount daemon on a remote host for information about the  state  of  the\nNFS  server  on  that  machine.   With  no options showmount lists the set of clients who are\nmounting from that host.  The output from showmount is designed to appear as though  it  were\nprocessed through ``sort -u''.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-a --all",
                        "content": "List  both the client hostname or IP address and mounted directory in host:dir format.\nThis info should not be considered reliable. See the notes on rmtab in rpc.mountd(8).\n",
                        "flag": "-a",
                        "long": "--all"
                    },
                    {
                        "name": "-d --directories",
                        "content": "List only the directories mounted by some client.\n",
                        "flag": "-d",
                        "long": "--directories"
                    },
                    {
                        "name": "-e --exports",
                        "content": "Show the NFS server's export list.\n",
                        "flag": "-e",
                        "long": "--exports"
                    },
                    {
                        "name": "-h --help",
                        "content": "Provide a short help summary.\n",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-v --version",
                        "content": "Report the current version number of the program.\n",
                        "flag": "-v",
                        "long": "--version"
                    },
                    {
                        "name": "--no-headers",
                        "content": "Suppress the descriptive headings from the output.\n",
                        "long": "--no-headers"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "rpc.mountd(8), rpc.nfsd(8)\n",
                "subsections": []
            },
            "BUGS": {
                "content": "The completeness and accuracy of the information that showmount displays varies according  to\nthe NFS server's implementation.\n\nBecause  showmount  sorts and uniqs the output, it is impossible to determine from the output\nwhether a client is mounting the same directory more than once.\n\nshowmount works by contacting the server's MNT service directly. NFSv4-only servers  have  no\nneed  to  advertise their exported root filehandles via this method, and may not expose their\nMNT service to clients.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Rick Sladkey <jrs@world.std.com>\n\n\n\n6 October 1993                               SHOWMOUNT(8)",
                "subsections": []
            }
        }
    }
}