<%include file="/pageheader.html"/>
<%
import subprocess
from kaithem.src import util
%>
<h1>Kernel Messages</h1>
%if util.which("journalctl"):
<section class="window paper">
<pre>
${subprocess.check_output("journalctl -ko short-monotonic --no-hostname", shell=True).decode()}
</pre>
%else:
<p class="danger">Program "journalctl" not installed.</p>
%endif
</div>
<%include file="/pagefooter.html"/>