Blob Blame Raw
From 001066cf6238ee3a61f1a87607272e9736d3e371 Mon Sep 17 00:00:00 2001
From: Matej Habrnal <mhabrnal@redhat.com>
Date: Mon, 26 Oct 2015 13:57:51 +0100
Subject: [PATCH] doc: add missing man page for abrt-dump-journal-core

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
---
 doc/Makefile.am                |  1 +
 doc/abrt-dump-journal-core.txt | 65 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 doc/abrt-dump-journal-core.txt

diff --git a/doc/Makefile.am b/doc/Makefile.am
index fdd08cf..ec6b3c5 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -19,6 +19,7 @@ MAN1_TXT += abrt-action-perform-ccpp-analysis.txt
 MAN1_TXT += abrt-action-notify.txt
 MAN1_TXT += abrt-applet.txt
 MAN1_TXT += abrt-dump-oops.txt
+MAN1_TXT += abrt-dump-journal-core.txt
 MAN1_TXT += abrt-dump-journal-oops.txt
 MAN1_TXT += abrt-dump-xorg.txt
 MAN1_TXT += abrt-auto-reporting.txt
diff --git a/doc/abrt-dump-journal-core.txt b/doc/abrt-dump-journal-core.txt
new file mode 100644
index 0000000..25d5e57
--- /dev/null
+++ b/doc/abrt-dump-journal-core.txt
@@ -0,0 +1,65 @@
+abrt-dump-journal-core(1)
+=========================
+
+NAME
+----
+abrt-dump-journal-core - Extract coredumps from systemd-journal
+
+SYNOPSIS
+--------
+'abrt-dump-journal-core' [-vsf] [-e]/[-c CURSOR] [-t INT]/[-T] [-d DIR]/[-D]
+
+DESCRIPTION
+-----------
+This tool creates problem directory from coredumps extracted from
+systemd-journal.
+The tool can follow systemd-journal and extract coredumps in time of their
+occurrence.
+
+The following start from the last seen cursor. If the last seen cursor file
+does not exist, the following start by scanning the entire sytemd-journal or
+from the end if '-e' option is specified.
+
+-c and -e options conflicts because both specifies the first read message.
+
+-e is useful only for -f because the following of journal starts by reading
+the entire journal if the last seen possition is not available.
+
+FILES
+-----
+/var/lib/abrt/abrt-dump-journal-core.state::
+   State file where systemd-journal cursor to the last seen message is saved
+
+OPTIONS
+-------
+-v, --verbose::
+   Be more verbose. Can be given multiple times.
+
+-s::
+   Log to syslog
+
+-d DIR::
+   Create new problem directory in DIR for every coredump
+
+-D::
+   Same as -d DumpLocation, DumpLocation is specified in abrt.conf
+
+-e::
+   Starts following systemd-journal from the end
+
+-t INT::
+   Throttle problem directory creation to 1 per INT second
+
+-T::
+   Same as -t INT, INT is specified in plugins/CCpp.conf
+
+-f::
+   Follow systemd-journal from the last seen position (if available)
+
+SEE ALSO
+--------
+abrt.conf(5), journalctl(1)
+
+AUTHORS
+-------
+* ABRT team
-- 
2.6.3