github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/website/pages/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  ## General Options
    25  
    26  @include 'general_options.mdx'
    27  
    28  ## Signal Options
    29  
    30  - `-s`: Signal to send to the tasks. Valid options depend on the driver.
    31  - `-verbose`: Display verbose output.
    32  
    33  ## Examples
    34  
    35  ```shell-sessionnomad alloc signal eb17e557
    36  
    37  $ nomad alloc signal eb17e557 foo
    38  Could not find task named: foo, found:
    39  * test
    40  <blocking>
    41  ```