1 {% extends "jobs.html" %}
3 {% block breadcrumbs %}
10 <h3>Job {{ job.id }}</h3>
11 <tt>{{ job.command }}</tt><br>
12 {% if job.finish_time %}
13 Status: <b>Completed</b> at {{ job.finish_time|date:"Y-m-d H:i:s" }} UTC in {{ job.process_time }}<br>
14 Result: {% if job.result %}<b>Error {{ job.result }}</b>{% else %}<b>Success</b><br>
15 Result size: {{ job.get_sucess_size|filesizeformat }}<br>
16 <a href="/job/{{ job.id }}/download" class=button>download</a>{% endif %}<br>
18 {% if job.start_time %}
19 Status: <b>Running</b> since {{ job.start_time|date:"Y-m-d H:i:s" }} UTC ( {{ job.running_time}} ) <br>
20 {% with job.get_stats as stats %}
22 Process ID: {{ stats.pid }}<br>
23 CPU ID: {{ stats.processor }}<br>
24 Nice: {{ stats.nice }}<br>
25 State: {{ stats.nice_state }}<br>
26 Virtual size: {{ stats.vsize|filesizeformat }}<br>
27 Time scheduled in user mode: {{ stats.nice_utime }} s<br>
28 Time scheduled in system mode: {{ stats.nice_stime }} s<br>
30 <b>Internal error</b>: process {{ job.pid }} stats are not available.<br>
31 Job runner daemon may be restarting now....
35 Status: <b>Queued</b> since {{ job.queue_time }}.<br>
36 Position in jobs queue: {{ job.queue_rank }} / {{ queue_size }}<br>