github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/docs/commands/quota/inspect.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: quota inspect' 4 sidebar_title: 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 ~> Quota commands are new in Nomad 0.7 and are only available with Nomad 16 Enterprise. 17 18 ## Usage 19 20 ```plaintext 21 nomad quota inspect [options] <quota_name> 22 ``` 23 24 ## General Options 25 26 @include 'general_options.mdx' 27 28 ## Inspect Options 29 30 - `-t` : Format and display the quota using a Go template. 31 32 ## Examples 33 34 Inspect a quota specification: 35 36 ```shell-sessionnomad quota inspect default-quota 37 { 38 "Spec": { 39 "CreateIndex": 8, 40 "Description": "Limit the shared default namespace", 41 "Limits": [ 42 { 43 "Hash": "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=", 44 "Region": "global", 45 "RegionLimit": { 46 "CPU": 2500, 47 "DiskMB": 0, 48 "MemoryMB": 2000, 49 "Networks": null 50 } 51 } 52 ], 53 "ModifyIndex": 56, 54 "Name": "default-quota" 55 }, 56 "UsageLookupErrors": {}, 57 "Usages": { 58 "global": { 59 "CreateIndex": 8, 60 "ModifyIndex": 56, 61 "Name": "default-quota", 62 "Used": { 63 "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=": { 64 "Hash": "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=", 65 "Region": "global", 66 "RegionLimit": { 67 "CPU": 500, 68 "DiskMB": 0, 69 "MemoryMB": 256, 70 "Networks": [ 71 { 72 "CIDR": "", 73 "Device": "", 74 "DynamicPorts": null, 75 "IP": "", 76 "MBits": 0, 77 "Mode": "", 78 "ReservedPorts": null 79 } 80 ] 81 } 82 } 83 } 84 } 85 } 86 } 87 ```