jstop

suspends a running flow.

Synopsis

jstop [-u user_name|-u all] [-f flow_name]

jstop flow_id [flow_id ...] | 0

jstop [-h]|[-V]

Description

You use the jstop command to suspend all flows, all flows belonging to a user, all flows associated with a flow definition, or a single flow. All incomplete jobs within the flow are suspended. Only users with administrator authority can suspend flows belonging to another user.

Options

-u user_name

Specifies the name of the user who owns the flows. Use this option if you have administrator authority and you are suspending the flow on behalf of another user. If you do not specify a user name, user name defaults to the user who invoked this command. If you specify -u all, and you have administrator authority, you can suspend flows belonging to all users.

-f flow_name

Specifies the name of the flow definition. Use this option if you want to suspend all flows associated with a particular flow definition. This option is mutually exclusive with the other options—if you specify a flow name, you cannot specify a flow ID.

flow_id

Specifies the ID of the flow you want to suspend. Use this option if you want to suspend one or more specific flow IDs. This option is mutually exclusive with the other options—if you specify a flow ID, you cannot specify a flow name. To specify a list of flow IDs, separate the flow IDs with a space.

0

Specifies to suspend all flows.

-h

Prints the command usage to stderr and exits.

-V

Prints the Process Manager release version to stderr and exits.

Examples

jstop -f "myflow" 

Suspends all flows associated with the definition myflow. Does not affect the flow definition.

jstop 14 

Suspends flow ID 14.

jstop 0 

Suspends all flows.

See also

jresume