limit cpu
You can use the limit cpu command to set the number of tasks that can run simultaneously on a workstation.
Overview
The default task 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
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 tasks
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 tozero, only the tasks withhiorgopriority 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
- To set 10 tasks as a
limit on
WA_AGT_0as a workstation limit, run the following command:Ocli plan limit cpu WA_AGT_0 10