Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

NumberOfBusyWorkers - Number of workers currently running tasks

Description

The NumberOfBusyWorkers property value indicates how many workers are currently running tasks for the job manager.

Characteristics

Usage

Job manager object

Read-only

Always

Data type

Double

Values

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

Examples

Examine the number of workers currently running tasks for a job manager.

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

See Also

Properties

BusyWorkers, ClusterSize, IdleWorkers, MaximumNumberOfWorkers, MinimumNumberOfWorkers, NumberOfIdleWorkers

  


Recommended Products

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

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