github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/commands/server/members.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: server members'
     4  sidebar_title: members
     5  description: >
     6    The server members command is used to display a list of the known server
     7    members and their status.
     8  ---
     9  
    10  # Command: server members
    11  
    12  The `server members` command displays a list of the known servers in the cluster
    13  and their current status. Member information is provided by the gossip protocol,
    14  which is only run on server nodes.
    15  
    16  ## Usage
    17  
    18  ```plaintext
    19  nomad server members [options]
    20  ```
    21  
    22  If ACLs are enabled, this option requires a token with the `node:read`
    23  capability.
    24  
    25  ## General Options
    26  
    27  @include 'general_options_no_namespace.mdx'
    28  
    29  ## Server Members Options
    30  
    31  - `-detailed`: Dump the basic member information as well as the raw set of tags
    32    for each member. This mode reveals additional information not displayed in the
    33    standard output format.
    34  
    35  ## Examples
    36  
    37  Default view:
    38  
    39  ```shell-session
    40  $ nomad server members
    41  Name          Addr      Port  Status  Proto  Build     DC   Region
    42  node1.global  10.0.0.8  4648  alive   2      0.1.0dev  dc1  global
    43  node2.global  10.0.0.9  4648  alive   2      0.1.0dev  dc1  global
    44  ```
    45  
    46  Detailed view:
    47  
    48  ```shell-session
    49  $ nomad server members -detailed
    50  Name   Addr      Port  Tags
    51  node1  10.0.0.8  4648  bootstrap=1,build=0.1.0dev,vsn=1,vsn_max=1,dc=dc1,port=4647,region=global,role=nomad,vsn_min=1
    52  node2  10.0.0.9  4648  bootstrap=0,build=0.1.0dev,vsn=1,vsn_max=1,dc=dc1,port=4647,region=global,role=nomad,vsn_min=1
    53  ```