asyncrpc
Long-running remote procedure calls (RPCs) are implemented by using an asynchronous mechanism to avoid timeouts. With the asyncrpc command, you can manage these long-running, asynchronous workflow RPC tasks, such as pelog or peverify.
Every time a workflow initiates an asynchronous task on behalf of a client request, it creates an asynchronous record to track the overall status, and creates a list of detailed messages for the task.
Syntax
asyncrpc {List | Clear | Abort | Attach} [<ID>]
| Action to perform | Syntax |
|---|---|
| List. List asynchronous tasks. | asyncrpc list [<ID>] |
| Clear. Delete all records that are associated with a particular asynchronous task. | asyncrpc clear <ID> |
| Abort. Stop a running task. | asyncrpc abort <ID> |
| Attach. View the status of a running task. | asyncrpc attach <ID> |
Parameters
| Parameter | Description |
|---|---|
| list [<ID>] | List one or more asynchronous tasks. If an ID is not specified,
all asynchronous tasks are listed. For each asynchronous task, the
list parameter outputs the following items in a table:
Example output:
|
| clear <ID> | Delete all records that are associated with the specified asynchronous task. |
| abort <ID> | Stop the specified running task. |
| attach <ID> | View the status of the specified asynchronous task. |