summaryrefslogtreecommitdiff
path: root/man/journalctl.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-28 23:43:57 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-10-28 23:43:57 -0400
commitf11880744c27209a42f502c690db86b38d2db14b (patch)
treee3f2934b4d3ecab8c9de704371cc36ccb61948ee /man/journalctl.xml
parentc20fd707a2b8c75166096544ee6f1538505e40a9 (diff)
journalctl: add --list-boots to show boot IDs and times
Suggested by David Wilkins <dwilkins@maths.tcd.ie> in https://bugzilla.redhat.com/show_bug.cgi?id=967521: > [Specific boot ID is a] bit of a palaver to obtain. I consulted the > verbose dump of the journal to discover the _BOOT_ID for the > timestamp, and then generated the journal dump for that boot using > journalctl _BOOT_ID=foo -o short-monotonic.
Diffstat (limited to 'man/journalctl.xml')
-rw-r--r--man/journalctl.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index 508f1dd534..011fea2800 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -487,6 +487,17 @@
</varlistentry>
<varlistentry>
+ <term><option>--list-boots</option></term>
+
+ <listitem><para>Show a tabular list of
+ boot numbers (relative to current
+ boot), their IDs, and the timestamps
+ of the first and last message
+ pertaining to the boot.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-k</option></term>
<term><option>--dmesg</option></term>