github.com/ferranbt/nomad@v0.9.3-0.20190607002617-85c449b7667c/website/source/docs/commands/alloc/signal.html.md.erb (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Commands: alloc signal"
     4  sidebar_current: "docs-commands-alloc-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  ```
    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  <%= partial "docs/commands/_general_options" %>
    27  
    28  ## Signal Options
    29  
    30  * `-s`: Signal to send to the tasks. Valid options depend on the driver.
    31  
    32  * `-verbose`: Display verbose output.
    33  
    34  ## Examples
    35  
    36  ```
    37  $ nomad alloc signal eb17e557
    38  
    39  $ nomad alloc signal eb17e557 foo
    40  Could not find task named: foo, found:
    41  * test
    42  <blocking>
    43  ```
    44