github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/docs/commands/alloc/index.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: alloc' 4 sidebar_title: alloc 5 description: | 6 The alloc command is used to interact with allocations. 7 --- 8 9 # Command: alloc 10 11 The `alloc` command is used to interact with allocations. 12 13 ## Usage 14 15 Usage: `nomad alloc <subcommand> [options]` 16 17 Run `nomad alloc <subcommand> -h` for help on that subcommand. The following 18 subcommands are available: 19 20 - [`alloc exec`][exec] - Run a command in a running allocation 21 - [`alloc fs`][fs] - Inspect the contents of an allocation directory 22 - [`alloc logs`][logs] - Streams the logs of a task 23 - [`alloc restart`][restart] - Restart a running allocation or task 24 - [`alloc signal`][signal] - Signal a running allocation 25 - [`alloc status`][status] - Display allocation status information and metadata 26 - [`alloc stop`][stop] - Stop and reschedule a running allocation 27 28 [exec]: /docs/commands/alloc/exec 'Run a command in a running allocation' 29 [fs]: /docs/commands/alloc/fs 'Inspect the contents of an allocation directory' 30 [logs]: /docs/commands/alloc/logs 'Streams the logs of a task' 31 [restart]: /docs/commands/alloc/restart 'Restart a running allocation or task' 32 [signal]: /docs/commands/alloc/signal 'Signal a running allocation' 33 [status]: /docs/commands/alloc/status 'Display allocation status information and metadata' 34 [stop]: /docs/commands/alloc/stop 'Stop and reschedule a running allocation'