limit cpu
Changes the limit of jobs that can run simultaneously on a workstation. You must have limit access to the workstation.
Syntax
{limit cpu | lc } [folder/]workstation
;limit
[;noask]
Arguments
- [folder/]workstation
- Specifies the name of the workstation. Wildcard characters are permitted. The default is your login workstation.
- limit
- Specifies the how many jobs can run concurrently on the workstation. Supported values
are from 0 to 1024 and system. If you set limit cpu to 0:
- For a job stream in the READY state, only jobs with hi and go priority values can be launched on the workstation.
- For a job stream with a hi or go priority value, all jobs with a priority value other than 0 can be launched on the workstation.
If you set limit cpu to system, there is no limit to the number of concurrent jobs on the workstation. For the extended agent, the limit to SYSTEM sets the job limit to 0.
- noask
- Specifies not to prompt for confirmation before taking action on each qualifying workstation.
Comments
To display the current job limit on your login workstation, use the status command.
When you first start HCL Workload Automation following installation, the workstation job limit is set to zero, and must be increased before any jobs are launched. When you change the limit, it is carried forward during preproduction processing to the next day's production plan.
HCL Workload Automation attempts to launch as many jobs as possible within the job limit. There is a practical limit to the number of processes that can be started on a workstation. If this limit is reached, the system responds with a message indicating that system resources are not available. When a job cannot be launched for this reason, it enters the fail state. Lowering the job limit can prevent this from occurring.
Examples
lc ;12
rx12
,
stored in folder myfolder
, run the following command:
lc myfolder/rx12;6
lc @!@;10
See also
- In the navigation bar at the top, click .
- Select an engine.
- In Object Type, select Workstation.
- From the Query drop-down list, select a query to monitor workstations.
- Click Run to run the monitoring task.
- From the table containing the list of workstations, select a workstation and click .
- Set the limit as required.