Files
nomad/website/content/docs/commands/job/scaling-events.mdx
Aimee Ukasick 23fd87d9c9 Docs: Commands section move "General options" to page bottom (#26001)
* sectionless files plus acl section

* alloc section

* config, deployment sections

* job section

* licence, namespace

* node, node-pool

* operator

* plugin, quota, recommendation

* scaling, sentinel, server, service, system, var, volume

* Add "ENT" label to left nav for enterprise commands

* job tag break into separate folder and files; update options header
2025-06-12 14:31:38 -05:00

54 lines
1.6 KiB
Plaintext

---
layout: docs
page_title: 'nomad job scaling-events command reference'
description: |
The `nomad job scaling-events` command displays scaling events for the specified job.
---
# `nomad job scaling-events` command reference
The `job scaling-events` command is used display the recent scaling events for
a given job.
## Usage
```plaintext
nomad job scaling-events [options] <job>
```
The `job scaling-events` command requires a single argument, a submitted job's
ID, and will output the stored scaling events for the job if there are any.
When ACLs are enabled, this command requires a token with either the
`read-job` or `read-job-scaling` capability for the job's namespace. The
`list-jobs` capability is required to run the command with a job prefix
instead of the exact job ID.
## Options
- `-verbose`: Show full information.
## Examples
Display the scaling events for the job with ID "job1":
```shell-session
$ nomad job scaling-events job1
Task Group Count PrevCount Date
group1 8 8 2020-10-23T09:06:47+02:00
group1 8 3 2020-10-23T09:02:42+02:00
```
Display the scaling events for the job with ID "job1" using the `verbose` flag:
```shell-session
$ nomad job scaling-events -verbose job1
Task Group Count PrevCount Error Message Eval ID Date
group1 8 8 false submitted using the Nomad CLI b754d6b3-8960-5652-60d8-d47df6eaed13 2020-10-23T09:06:47+02:00
group1 8 3 false submitted using the Nomad CLI 529cc88e-8887-725e-2a79-4997f50df153 2020-10-23T09:02:42+02:00
```
## General options
@include 'general_options.mdx'