limit cpu

You can use the limit cpu command to set the number of jobs that can run simultaneously on a workstation.

Overview

The default job limit depends on the type of workstation. For cloud task launcher, the default value is 1000 and for all other types of workstations the value is 100. You can use the limit cpu command to update the limit, and you must have limit access to run the command. Use the show cpu command to view the current limit of a workstation.

Syntax and command line options

You can enter the command as follows:
ocli plan (limit cpu|lc) [folder/]workstation limit [;noask]

The [folder/]workstation and limit parameters are mandatory. The details required with each parameter are as follows:

[folder/]workstation
You can specify the name of the specific workstation to set the limit, by means of attributes and qualifiers. You can also specify the folder that contains the workstation definition. Specifying the folder is optional.
Limit
Specify the number of jobs that you want to run simultaneously on a workstation. There is no maximum limit, and you can specify any positive numerical value. If you do not want to set any specific limits, use the term system.
Important: If you set the limit to zero, only the jobs with hi or go priority run on the workstation.
noask

When you add the noask option as an argument, the agent does not ask for confirmation before it acts on each qualifying item.

Example

  1. To set 10 jobs as a limit on WA_AGT_0 as a workstation limit, run the following command:
    Ocli plan limit cpu WA_AGT_0 10