Files
nomad/website/content/docs/commands/recommendation/info.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

59 lines
1.3 KiB
Plaintext

---
layout: docs
page_title: 'nomad recommendation info command reference'
description: |
The `nomad recommendation info` command displays information about the specified recommendation in Nomad Enterprise.
---
# `nomad recommendation info` command reference
The `recommendation info` command is used to read the specified recommendation.
<EnterpriseAlert product="nomad"/>
## Usage
```plaintext
nomad recommendation info [options] <recommendation_id>
```
The `recommendation info` command requires a single argument, a recommendation ID.
When ACLs are enabled, this command requires a token with the `read-job`
capability for the recommendation's namespace.
## Options
- `-json` : Output the recommendation in its JSON format.
- `-t` : Format and display the recommendation using a Go template.
## Examples
View the information of a specific recommendation:
```shell-session
$ nomad recommendation info 68236421-c90f-efa6-fc02-37ae2d59bf03
ID = 68236421-c90f-efa6-fc02-37ae2d59bf03
Namespace = default
Job ID = example
Task Group = cache
Task = redis
Resource = CPU
Value = 57
Current = 500
Stats
max mean min p99
5.89 1.66 0.44 5.89
Meta
nomad_policy_id = e20dc742-dd5d-5419-8add-c5e0233933f5
num_evaluated_windows = 2
window_size = 3e+11
```
## General options
@include 'general_options.mdx'