From a0c23306be55216fc6fa4dc761dbf3151672a855 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 4 Mar 2021 12:05:05 +0300 Subject: add journalctl output --- index.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'index.html') diff --git a/index.html b/index.html index 3cbf6cc..d1adc14 100644 --- a/index.html +++ b/index.html @@ -50,6 +50,11 @@ h1, .h1 {

           
           
+

journalctl --system -b --lines=20

+
+

+          
+
@@ -98,6 +103,9 @@ function set_system(data) { if ('timers' in data) { $('#timers_system').text(data['timers']); } + if ('journal' in data) { + $('#journal_system').text(data['journal']); + } } var users = []; @@ -126,6 +134,11 @@ function add_user(name) {

     

+

journalctl --user -b --lines=20

+
+

+    
+
`; @@ -144,6 +157,9 @@ function set_user(name, data) { if ('timers' in data) { $('#timers_user_' + name).text(data['timers']); } + if ('journal' in data) { + $('#journal_user_' + name).text(data['journal']); + } } function set_users(data) { -- cgit v1.2.3