github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/recommendation/info.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: recommendation info' 4 description: | 5 The recommendation info command is used to read the specified recommendation. 6 --- 7 8 # Command: recommendation info 9 10 The `recommendation info` command is used to read the specified recommendation. 11 12 ~> Recommendation commands are new in Nomad 1.0 and are only available with 13 Nomad Enterprise. 14 15 ## Usage 16 17 ```plaintext 18 nomad recommendation info [options] <recommendation_id> 19 ``` 20 21 The `recommendation info` command requires a single argument, a recommendation ID. 22 23 When ACLs are enabled, this command requires a token with the `read-job` 24 capability for the recommendation's namespace. 25 26 ## General Options 27 28 @include 'general_options.mdx' 29 30 ## Info Options 31 32 - `-json` : Output the recommendation in its JSON format. 33 34 - `-t` : Format and display the recommendation using a Go template. 35 36 ## Examples 37 38 View the information of a specific recommendation: 39 40 ```shell-session 41 $ nomad recommendation info 68236421-c90f-efa6-fc02-37ae2d59bf03 42 ID = 68236421-c90f-efa6-fc02-37ae2d59bf03 43 Namespace = default 44 Job ID = example 45 Task Group = cache 46 Task = redis 47 Resource = CPU 48 Value = 57 49 Current = 500 50 51 Stats 52 max mean min p99 53 5.89 1.66 0.44 5.89 54 55 Meta 56 nomad_policy_id = e20dc742-dd5d-5419-8add-c5e0233933f5 57 num_evaluated_windows = 2 58 window_size = 3e+11 59 ```