Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Current Situation
- When using the start script command jobscheduler.cmd|.sh status jobs then output is created such as
Job Scheduler instance: scheduler19
.............. version: 1.10.0-SNAPSHOT
......... operated for: apmacwin:4444
........ running since: 2015-08-25T10:45:08Z
................ state: running
............. cpu used:
........... job chains: 29
................. jobs: 66
............... orders: 20
..... remote instances: 0, connected instances:
Desired Behavior
- The output of the start script should include the number of enqueued tasks such as
Job Scheduler instance: scheduler19
.............. version: 1.10.0-SNAPSHOT
......... operated for: apmacwin:4444
........ running since: 2015-08-25T10:45:08Z
................ state: running
............. cpu used:
........... job chains: 29
................. jobs: 66
....... enqueued tasks: 2
............... orders: 20
..... remote instances: 0, connected instances:
Implementation
- Add the following line to the stylesheet ./config/scheduler_jobs_status.xsl:
....... enqueued tasks: <xsl:value-of select="sum(jobs/job/queued_tasks/@length)"/>