github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/commands/job/scaling-events.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: job scaling-events' 4 sidebar_title: scaling-events 5 description: | 6 The job scaling-events command details scaling events for a given job. 7 --- 8 9 # Command: job scaling-events 10 11 The `job scaling-events` command is used display the recent scaling events for 12 a given job. 13 14 ## Usage 15 16 ```plaintext 17 nomad job scaling-events [options] <job> 18 ``` 19 20 The `job scaling-events` command requires a single argument, a submitted job's 21 ID, and will output the stored scaling events for the job if there are any. 22 23 When ACLs are enabled, this command requires a token with the 24 `read-job-scaling` capability for the job's namespace. 25 26 ## General Options 27 28 @include 'general_options.mdx' 29 30 ## Scaling-Events Options 31 32 - `-verbose`: Show full information. 33 34 ## Examples 35 36 Display the scaling events for the job with ID "job1": 37 38 ```shell-session 39 $ nomad job scaling-events job1 40 Task Group Count PrevCount Date 41 group1 8 8 2020-10-23T09:06:47+02:00 42 group1 8 3 2020-10-23T09:02:42+02:00 43 ``` 44 45 Display the scaling events for the job with ID "job1" using the `verbose` flag: 46 47 ```shell-session 48 $ nomad job scaling-events -verbose job1 49 Task Group Count PrevCount Error Message Eval ID Date 50 group1 8 8 false submitted using the Nomad CLI b754d6b3-8960-5652-60d8-d47df6eaed13 2020-10-23T09:06:47+02:00 51 group1 8 3 false submitted using the Nomad CLI 529cc88e-8887-725e-2a79-4997f50df153 2020-10-23T09:02:42+02:00 52 ```