{% extends "jobs.html" %} {% block breadcrumbs %} {{ block.super }} / {{ job.id }} {% endblock %} {% block title %} Job {{ job.id }} details {% endblock %} {% block content %}

Job {{ job.id }}

{{ job.command }}
{% if job.finish_time %} Status: Completed at {{ job.finish_time|date:"Y-m-d H:i:s" }} UTC in {{ job.process_time }}
Result: {% if job.result %}Error {{ job.result }}{% else %}Success
Result size: {{ job.get_sucess_size|filesizeformat }}
download{% endif %}
{% else %} {% if job.start_time %} Status: Running since {{ job.start_time|date:"Y-m-d H:i:s" }} UTC ( {{ job.running_time}} )
{% with job.get_stats as stats %} {% if stats %} Process ID: {{ stats.pid }}
CPU ID: {{ stats.processor }}
Nice: {{ stats.nice }}
State: {{ stats.nice_state }}
Virtual size: {{ stats.vsize|filesizeformat }}
Time scheduled in user mode: {{ stats.nice_utime }} s
Time scheduled in system mode: {{ stats.nice_stime }} s
{% else %} Internal error: process {{ job.pid }} stats are not available.
Either the job just terminated, or the job runner daemon may have a problem.... {% endif %} {% endwith %} {% else %} Status: Queued since {{ job.queue_time }}.
Position in jobs queue: {{ job.queue_rank }} / {{ queue_size }}
{% endif %} {% endif %} {% endblock %}