Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

NumberOfIdleWorkers - Number of idle workers available to run tasks

Description

The NumberOfIdleWorkers property value indicates how many workers are currently available to the job manager for the performance of job tasks.

If the NumberOfIdleWorkers is equal to or greater than the MinimumNumberOfWorkers of the job at the top of the queue, that job can start running.

Characteristics

Usage

Job manager object

Read-only

Always

Data type

Double

Values

The value of NumberOfIdleWorkers can range from 0 up to the total number of workers registered with the job manager.

Examples

Examine the number of workers available to a job manager.

jm = findResource('scheduler','type','jobmanager', ...
          'name','MyJobManager','LookupURL','JobMgrHost');
get(jm, 'NumberOfIdleWorkers')

See Also

Properties

BusyWorkers, ClusterSize, IdleWorkers, MaximumNumberOfWorkers, MinimumNumberOfWorkers, NumberOfBusyWorkers

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS