github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/commands/alloc/signal.mdx (about) 1 --- 2 layout: docs 3 page_title: 'Commands: alloc signal' 4 sidebar_title: signal 5 description: | 6 Signal a running allocation or task 7 --- 8 9 # Command: alloc signal 10 11 The `alloc signal` command allows a user to perform an in place signal of an 12 an entire allocation or individual task. 13 14 ## Usage 15 16 ```plaintext 17 nomad alloc signal [options] <allocation> <task> 18 ``` 19 20 This command accepts a single allocation ID and a task name. The task name must 21 be part of the allocation and the task must be currently running. The task name 22 is optional and if omitted every task in the allocation will be signaled. 23 24 When ACLs are enabled, this command requires a token with the 25 `alloc-lifecycle`, `read-job`, and `list-jobs` capabilities for the 26 allocation's namespace. 27 28 ## General Options 29 30 @include 'general_options.mdx' 31 32 ## Signal Options 33 34 - `-s`: Signal to send to the tasks. Valid options depend on the driver. 35 - `-verbose`: Display verbose output. 36 37 ## Examples 38 39 ```shell-session 40 $ nomad alloc signal eb17e557 41 42 $ nomad alloc signal eb17e557 foo 43 Could not find task named: foo, found: 44 * test 45 <blocking> 46 ```