{% load i18n %}
{% if unavailable %}
    
{% trans 'ERROR: uWSGI is not available!' %}
{% else %}
    
    {% trans 'Status' %}
        
            
                
                    | {% trans "Option" %} | {% trans "Value" %} | 
            
            
                {% for key, value in stats %}
                
                    | {{ key }} | {{ value }} | 
                {% endfor %}
            
        
     
    
    {% trans 'Options' %}
        
            
                
                    | {% trans "Option" %} | {% trans "Value" %} | 
            
            
                {% for key, value in options %}
                
                    | {{ key }} | {{ value }} | 
                {% endfor %}
            
        
     
    
    {% trans 'Workers' %}
        
            
                
                    | {% trans "id" %} | {% trans "pid" %} | {% trans "status" %} | {% trans "requests" %} | {% trans "exceptions" %} | {% trans "signals" %} | {% trans "running time(ms)" %} | {% trans "avg response time(ms)" %} | {% trans "load" %} | {% trans "last spawn" %} | {% trans "respawn count" %} | {% trans "address space (vsz)" %} | {% trans "resident memory (rss)" %} | 
            
            
            {% for w in workers %}
                
                    | {{ w.id }} | {{ w.pid }} | {{ w.status }} | {{ w.requests }} | {{ w.exceptions }} | {{ w.signals }} | {{ w.running_time }} | {{ w.avg_rt }} | {{ w.load|floatformat:2 }} % | {{ w.last_spawn }} | {{ w.respawn_count }} | {{ w.vsz|filesizeformat }} | {{ w.rss|filesizeformat }} | 
            {% endfor %}
            
        
     
    
        {% trans 'Applications' %}
        
            
            
                | {% trans "#" %} | {% trans "modifier1" %} | {% trans "mountpoint" %} | {% trans "interpreter" %} | {% trans "callable" %} | {% trans "chdir" %} | {% trans "requests" %} | {% trans "exceptions" %} | 
            
            
            {% for w in workers %}
                {% for app in w.apps %}
                    
                        | {{ app.id }} | {{ app.modifier1 }} | {{ app.mountpoint }} | {{ app.interpreter }} | {{ app.callable }} | {{ app.chdir }} | {{ app.requests }} | {{ app.exceptions }} | 
                {% endfor %}
            {% endfor %}
            
        
     
    
    {% trans 'Spooler jobs' %}
        
            
                
                    | job filename | environment | 
            
            
        {% for j in jobs %}
            
                | {{ j.file }} | {{ j.env }} | 
        {% endfor %}
            
        
     
    {% if masterpid %}
    
    {% endif %}
 
{% endif %}