open-nomad/website/content/docs/commands/quota/status.mdx

44 lines
945 B
Plaintext
Raw Normal View History

2017-10-13 21:02:30 +00:00
---
2020-02-06 23:45:31 +00:00
layout: docs
page_title: 'Commands: quota status'
2017-10-13 21:02:30 +00:00
description: >
The quota status command is used to view the status of a particular quota
specification.
---
# Command: quota status
The `quota status` command is used to view the status of a particular quota
specification.
2018-03-22 20:39:18 +00:00
~> Quota commands are new in Nomad 0.7 and are only available with Nomad
Enterprise.
2017-10-13 21:02:30 +00:00
## Usage
```plaintext
2017-10-13 21:02:30 +00:00
nomad quota status [options] <quota_name>
```
If ACLs are enabled, this command requires a token with the `quota:read`
capability and access to any namespaces that the quota is applied to.
2017-10-13 21:02:30 +00:00
## General Options
2020-02-06 23:45:31 +00:00
@include 'general_options.mdx'
2017-10-13 21:02:30 +00:00
## Examples
View the status of a quota specification:
2020-05-18 20:53:06 +00:00
```shell-session
$ nomad quota status default-quota
2017-10-13 21:02:30 +00:00
Name = default-quota
Description = Limit the shared default namespace
Limits = 1
Quota Limits
Region CPU Usage Memory Usage Network Usage
global 500 / 2500 256 / 2000 30 / 50
2017-10-13 21:02:30 +00:00
```