github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/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 If ACLs are enabled, this command requires a token with the `quota:read` 25 capability and access to any namespaces that the quota is applied to. 26 27 ## General Options 28 29 @include 'general_options.mdx' 30 31 ## Inspect Options 32 33 - `-t` : Format and display the quota using a Go template. 34 35 ## Examples 36 37 Inspect a quota specification: 38 39 ```shell-session 40 $ nomad quota inspect default-quota 41 { 42 "Spec": { 43 "CreateIndex": 8, 44 "Description": "Limit the shared default namespace", 45 "Limits": [ 46 { 47 "Hash": "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=", 48 "Region": "global", 49 "RegionLimit": { 50 "CPU": 2500, 51 "DiskMB": 0, 52 "MemoryMB": 2000, 53 "Networks": null 54 } 55 } 56 ], 57 "ModifyIndex": 56, 58 "Name": "default-quota" 59 }, 60 "UsageLookupErrors": {}, 61 "Usages": { 62 "global": { 63 "CreateIndex": 8, 64 "ModifyIndex": 56, 65 "Name": "default-quota", 66 "Used": { 67 "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=": { 68 "Hash": "NLOoV2WBU8ieJIrYXXx8NRb5C2xU61pVVWRDLEIMxlU=", 69 "Region": "global", 70 "RegionLimit": { 71 "CPU": 500, 72 "DiskMB": 0, 73 "MemoryMB": 256, 74 "Networks": [ 75 { 76 "CIDR": "", 77 "Device": "", 78 "DynamicPorts": null, 79 "IP": "", 80 "MBits": 0, 81 "Mode": "", 82 "ReservedPorts": null 83 } 84 ] 85 } 86 } 87 } 88 } 89 } 90 } 91 ```