NetBatch Manual

Scheduler Planning, Configuration, and
Management
NetBatch Manual522460-004
3-35
Deleting Executors and Classes
Stopping Executors
The STOP EXECUTOR command stops an executor whose state is ACTIVE or ON.
For example:
23} STATUS EXECUTOR *
EXECUTOR STATUS
_____________________________________________________________
EXECUTOR CPU STATE JOB CLASS
------------------------ --- ------ ----- ---------
EX1 1 ACTIVE 1 CL1
EX2 2 ON
24} STOP EXECUTOR *
Executor EX1 stopped
Executor EX2 stopped
25} STATUS EXECUTOR *
EXECUTOR STATUS
EXECUTOR CPU STATE JOB CLASS
------------------------ --- ------ ----- ---------
EX1 1 STOP 1 CL1
EX2 2 OFF
Stopping an executor prevents jobs from using it to access CPU resources.
Restarting Executors
The START EXECUTOR command starts a stopped executor (state OFF or STOP).
For example:
34} STATUS EXECUTOR *
EXECUTOR STATUS
__________________________________________________________
EXECUTOR CPU STATE JOB CLASS
------------------------ --- ------ ----- ---------
EX1 1 STOP 1 CL1
EX2 2 OFF
35} START EXECUTOR *
Executor EX1 started
Executor EX2 started
36} STATUS EXECUTOR *
EXECUTOR STATUS
EXECUTOR CPU STATE JOB CLASS
------------------------ --- ------ ----- ---------
EX1 1 ACTIVE 1 CL1
EX2 2 ON
Starting a stopped executor lets jobs from the executor’s classes run in its CPU.
Deleting Executors and Classes
NetBatch supervisors can stop a schedulers executors and restart them by using
these BATCHCOM commands: