MATLAB: Is there a way to check the health status of worker processes for a Matlab Production Server

load balanceMATLAB Production Serverworker process

I want to load balance calls to my MPS instances taking into consideration the status of the worker processes of each instance. Is there a way to check the status of work processes for an MPS instance?

Best Answer

There's mps-status command in $MPS_ROOT/script directory. On this directory,
if Linux, run
./mps-status -C "../instances/MPS_INSTANCE" -s
if Windows, run
mps-status -C "..\instances\MPS_INSTANCE" -s
then you can find the number of workers running for each instance.