{% extends "baseTemplate/index.html" %} {% load static %} {# OpenLiteSpeed real-time report, parsed from /tmp/lshttpd/.rtreport in views.py. #} {% block title %}LiteSpeed status{% endblock %} {% block styles %} {% endblock %} {% block content %}

OpenLiteSpeed

Real-time report read from the server's own status file. {% if report.version %}Version {{ report.version }}.{% endif %} {% if report.workers %}{{ report.workers }} worker process{{ report.workers|pluralize:"es" }}.{% endif %}

{% if report.running %}Running{% else %}Not running{% endif %}
{% if not report.available %}
Live counters are unavailable. {{ report.reportUnavailableReason|default:"OpenLiteSpeed has not written a real-time report yet." }} Version, running state and control output below still come from lswsctrl and lshttpd -v, which do not depend on that file.
{% endif %}
Uptime
{{ report.uptime|default:"—" }}
Active connections
{{ report.metrics.PLAINCONN|default:0 }} + {{ report.metrics.SSLCONN|default:0 }} TLS
Throughput in / out
{{ report.metrics.BPS_IN|default:0 }} / {{ report.metrics.BPS_OUT|default:0 }} B/s
Max connections
{{ report.metrics.MAXCONN|default:0 }} / {{ report.metrics.MAXSSL_CONN|default:0 }} TLS
Requests by virtual host
{% for vhost in report.vhosts %} {% empty %} {% endfor %}
Virtual host Processing Requests/s Total requests Cache hits/s
{{ vhost.name }} {{ vhost.REQ_PROCESSING|default:0 }} {{ vhost.REQ_PER_SEC|default:0 }} {{ vhost.TOT_REQS|default:0 }} {{ vhost.CACHE_HITS_PER_SEC|default:0 }}
No virtual host counters are available.
All report counters
{% for key, value in report.metrics.items %}
{{ key }}{{ value }}
{% empty %}
No counters were reported.
{% endfor %}
Control output
{{ report.control|default:"lswsctrl produced no output." }}

{{ report.banner }}

Raw report
{{ report.raw|default:"No raw report was captured." }}
{% endblock %} {% block scripts %} {% endblock %}