github.com/hspak/nomad@v0.7.2-0.20180309000617-bc4ae22a39a5/website/source/docs/commands/quota/inspect.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: quota inspect"
     4  sidebar_current: "docs-commands-quota-inspect"
     5  description: >
     6    The quota inspect command is used to view raw information about a particular
     7    quota specification.
     8  ---
     9  
    10  # Command: quota inspect
    11  
    12  The `quota inspect` command is used to view raw information about a particular
    13  quota.
    14  
    15  ## Usage
    16  
    17  ```
    18  nomad quota inspect [options] <quota_name>
    19  ```
    20  
    21  ## General Options
    22  
    23  <%= partial "docs/commands/_general_options" %>
    24  
    25  ## Inspect Options
    26  
    27  * `-t` : Format and display the quota using a Go template.
    28  
    29  ## Examples
    30  
    31  Inspect a quota specification:
    32  
    33  ```
    34  $ nomad quota inspect default-quota
    35  {
    36      "Spec": {
    37          "CreateIndex": 8,
    38          "Description": "Limit the shared default namespace",
    39          "Limits": [
    40              {
    41                  "Hash": "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=",
    42                  "Region": "global",
    43                  "RegionLimit": {
    44                      "CPU": 2500,
    45                      "DiskMB": 0,
    46                      "IOPS": 0,
    47                      "MemoryMB": 2000,
    48                      "Networks": null
    49                  }
    50              }
    51          ],
    52          "ModifyIndex": 56,
    53          "Name": "default-quota"
    54      },
    55      "UsageLookupErrors": {},
    56      "Usages": {
    57          "global": {
    58              "CreateIndex": 8,
    59              "ModifyIndex": 56,
    60              "Name": "default-quota",
    61              "Used": {
    62                  "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=": {
    63                      "Hash": "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=",
    64                      "Region": "global",
    65                      "RegionLimit": {
    66                          "CPU": 500,
    67                          "DiskMB": 0,
    68                          "IOPS": 0,
    69                          "MemoryMB": 256,
    70                          "Networks": null
    71                      }
    72                  }
    73              }
    74          }
    75      }
    76  }
    77  ```