aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html/index.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-11 13:37:20 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-11 13:37:20 +0200
commit23ddfc61a62645231e5c3dc2fc3faeff9670215c (patch)
treee6853fc7d47f59818ae07975b629d8506e6ba988 /html/index.html
parentindex.html: hostname header too large on mobile (diff)
downloadlinux-status-2.1.1.tar.gz
linux-status-2.1.1.zip
index.html: shorten commandsv2.1.1
Diffstat (limited to '')
-rw-r--r--html/index.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/html/index.html b/html/index.html
index e3ac8b3..c472a34 100644
--- a/html/index.html
+++ b/html/index.html
@@ -37,22 +37,22 @@
</div>
</div>
<hr>
- <p><button type="button" class="btn btn-outline-primary btn-sm mr-2" data-toggle="collapse" data-target="#collapse_failed_system">+</button><a href="#collapse_failed_system" data-toggle="collapse"><code>systemctl --system list-units --failed</code></a></p>
+ <p><button type="button" class="btn btn-outline-primary btn-sm mr-2" data-toggle="collapse" data-target="#collapse_failed_system">+</button><a href="#collapse_failed_system" data-toggle="collapse"><code>systemctl list-units --failed</code></a></p>
<div class="collapse show" id="collapse_failed_system">
<pre class="pre-scrollable" id="failed_system">Data not loaded.</pre>
</div>
<hr>
- <p><button type="button" class="btn btn-outline-primary btn-sm mr-2" data-toggle="collapse" data-target="#collapse_overview_system">+</button><a href="#collapse_overview_system" data-toggle="collapse"><code>systemctl --system status</code></a></p>
+ <p><button type="button" class="btn btn-outline-primary btn-sm mr-2" data-toggle="collapse" data-target="#collapse_overview_system">+</button><a href="#collapse_overview_system" data-toggle="collapse"><code>systemctl status</code></a></p>
<div class="collapse" id="collapse_overview_system">
<pre class="pre-scrollable" id="overview_system">Data not loaded.</pre>
</div>
<hr>
- <p><button type="button" class="btn btn-outline-primary btn-sm mr-2" data-toggle="collapse" data-target="#collapse_timers_system">+</button><a href="#collapse_timers_system" data-toggle="collapse"><code>systemctl --system list-timers --all</code></a></p>
+ <p><button type="button" class="btn btn-outline-primary btn-sm mr-2" data-toggle="collapse" data-target="#collapse_timers_system">+</button><a href="#collapse_timers_system" data-toggle="collapse"><code>systemctl list-timers --all</code></a></p>
<div class="collapse" id="collapse_timers_system">
<pre class="pre-scrollable" id="timers_system">Data not loaded.</pre>
</div>
<hr>
- <p><button type="button" class="btn btn-outline-primary btn-sm mr-2" data-toggle="collapse" data-target="#collapse_journal_system">+</button><a href="#collapse_journal_system" data-toggle="collapse"><code>journalctl --system -b --lines=20</code></a></p>
+ <p><button type="button" class="btn btn-outline-primary btn-sm mr-2" data-toggle="collapse" data-target="#collapse_journal_system">+</button><a href="#collapse_journal_system" data-toggle="collapse"><code>journalctl -b --lines=20</code></a></p>
<div class="collapse" id="collapse_journal_system">
<pre class="pre-scrollable" id="journal_system">Data not loaded.</pre>
</div>
@@ -313,10 +313,10 @@ function add_user(name) {
.append($('<div/>', {'class': 'col'})
.append($('<h2/>').text(name))
.append($('<hr/>'))
- .append(create_user_block(name, 'failed', 'systemctl --user list-units --failed'))
- .append(create_user_block(name, 'overview', 'systemctl --user status'))
- .append(create_user_block(name, 'timers', 'systemctl --user list-timers --all'))
- .append(create_user_block(name, 'journal', 'journalctl --user -b --lines=20')));
+ .append(create_user_block(name, 'failed', 'systemctl list-units --failed'))
+ .append(create_user_block(name, 'overview', 'systemctl status'))
+ .append(create_user_block(name, 'timers', 'systemctl list-timers --all'))
+ .append(create_user_block(name, 'journal', 'journalctl -b --lines=20')));
$('#users').append(container);
$('#collapse_failed_user_' + name).addClass('show');