github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/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  ## General Options
    23  
    24  @include 'general_options.mdx'
    25  
    26  ## Server Members Options
    27  
    28  - `-detailed`: Dump the basic member information as well as the raw set of tags
    29    for each member. This mode reveals additional information not displayed in the
    30    standard output format.
    31  
    32  ## Examples
    33  
    34  Default view:
    35  
    36  ```shell-sessionnomad server members
    37  Name          Addr      Port  Status  Proto  Build     DC   Region
    38  node1.global  10.0.0.8  4648  alive   2      0.1.0dev  dc1  global
    39  node2.global  10.0.0.9  4648  alive   2      0.1.0dev  dc1  global
    40  ```
    41  
    42  Detailed view:
    43  
    44  ```shell-sessionnomad server members -detailed
    45  Name   Addr      Port  Tags
    46  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
    47  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
    48  ```