github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/quota/inspect.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: quota inspect' 4 description: > 5 The quota inspect command is used to view raw information about a particular 6 quota specification. 7 --- 8 9 # Command: quota inspect 10 11 The `quota inspect` command is used to view raw information about a particular 12 quota. 13 14 ~> Quota commands are new in Nomad 0.7 and are only available with Nomad 15 Enterprise. 16 17 ## Usage 18 19 ```plaintext 20 nomad quota inspect [options] <quota_name> 21 ``` 22 23 If ACLs are enabled, this command requires a token with the `quota:read` 24 capability and access to any namespaces that the quota is applied to. 25 26 ## General Options 27 28 @include 'general_options.mdx' 29 30 ## Inspect Options 31 32 - `-t` : Format and display the quota using a Go template. 33 34 ## Examples 35 36 Inspect a quota specification: 37 38 ```shell-session 39 $ nomad quota inspect default-quota 40 { 41 "Spec": { 42 "CreateIndex": 8, 43 "Description": "Limit the shared default namespace", 44 "Limits": [ 45 { 46 "Hash": "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=", 47 "Region": "global", 48 "RegionLimit": { 49 "CPU": 2500, 50 "DiskMB": 0, 51 "MemoryMB": 2000, 52 "Networks": null 53 } 54 } 55 ], 56 "ModifyIndex": 56, 57 "Name": "default-quota" 58 }, 59 "UsageLookupErrors": {}, 60 "Usages": { 61 "global": { 62 "CreateIndex": 8, 63 "ModifyIndex": 56, 64 "Name": "default-quota", 65 "Used": { 66 "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=": { 67 "Hash": "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=", 68 "Region": "global", 69 "RegionLimit": { 70 "CPU": 500, 71 "DiskMB": 0, 72 "MemoryMB": 256, 73 "Networks": [ 74 { 75 "CIDR": "", 76 "Device": "", 77 "DynamicPorts": null, 78 "IP": "", 79 "MBits": 0, 80 "Mode": "", 81 "ReservedPorts": null 82 } 83 ] 84 } 85 } 86 } 87 } 88 } 89 } 90 ```