Skip to Main Content Skip to Search
Product Documentation

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

  


Free Parallel Computing Interactive Kit

See how to solve large problems with minimal effort and reduce simulation time.

Get free kit

Trials Available

Try the latest versions of parallel computing products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS