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
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 tozero
, only the jobs withhi
orgo
priority run on the workstation.
- noask
-
When you add the option as an argument the agent will not ask for confirmation before taking action on each qualifying job.
Example
- 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