X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fjournalctl.xml;h=acd75a6370d2ac129c6f207c5f5ab82f8fd6ff6c;hb=a7a0912a36307567043e1939f6065ff54fa8fd66;hp=6a972109c5dd5f043f697d68ee81b39ea6d1d1d4;hpb=b040723ea412209e0edf54647fa5aa4287411507;p=elogind.git
diff --git a/man/journalctl.xml b/man/journalctl.xml
index 6a972109c..acd75a637 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -21,7 +21,8 @@
along with systemd; If not, see .
-->
-
+journalctl
@@ -83,10 +84,11 @@
field, then they are automatically matched as
alternatives, i.e. the resulting output will show
entries matching any of the specified matches for the
- same field. Finally, if the character
- + appears as a separate word on the
- command line, all matches before and after are combined
- in a disjunction (i.e. logical OR).
+ same field. Finally, the character
+ + may appears as a separate word
+ between other terms on the command line. This causes
+ all matches before and after to be combined in a
+ disjunction (i.e. logical OR).
As shortcuts for a few types of field/value
matches, file paths may be specified. If a file path
@@ -97,11 +99,21 @@
_KERNEL_DEVICE= match for the
device.
+ Additional constraints may be added using options
+ , ,
+ etc, to further limit what entries will be shown
+ (logical AND).
+
Output is interleaved from all accessible
journal files, whether they are rotated or currently
being written, and regardless of whether they belong to the
system itself or are accessible user journals.
+ The set of journal files which will be used
+ can be modified using the ,
+ , ,
+ and options, see below.
+
All users are granted access to their private
per-user journals. However, by default, only root and
users who are members of the systemd-journal
@@ -116,10 +128,10 @@
option and the "Environment"
section below.
- When outputing to a tty, lines are colored
+ When outputting to a tty, lines are colored
according to priority: lines of level ERROR and higher
are colored red; lines of level NOTICE and higher are
- highlighted; and other lines are displayed normally.
+ highlighted; other lines are displayed normally.
@@ -129,28 +141,6 @@
The following options are understood:
-
-
-
-
- Prints a short help
- text and exits.
-
-
-
-
-
- Prints a short version
- string and exits.
-
-
-
-
-
- Do not pipe output into a
- pager.
-
-
@@ -199,10 +189,10 @@
that the pager will not buffer logs of
unbounded size. This may be overridden
with an explicit
- with some other numeric value on the
- command line. Note that this option is
- only supported for the
- less1
+ with some other numeric value while
+ will disable this cap.
+ Note that this option is only supported for the
+ less1
pager.
@@ -214,9 +204,10 @@
journal events and limit the number of
events shown. If
is used,
- this option is implied. The argument,
- a positive integer, is optional, and
- defaults to 10.
+ this option is implied. The argument is
+ a positive integer or all
+ to disable line limiting. The default value is
+ 10 if no argument is given.
@@ -232,7 +223,7 @@
- Reverse output so the newest
+ Reverse output so that the newest
entries are displayed first.
@@ -379,7 +370,7 @@
terse output, only
showing the actual
message of each journal
- entry with no meta data,
+ entry with no metadata,
not even a timestamp.
@@ -507,19 +498,44 @@
+
+
+
+
+ Show messages for the
+ specified syslog identifier
+ SYSLOG_IDENTIFIER, or
+ for any of the messages with a SYSLOG_IDENTIFIER
+ matched by PATTERN.
+
+ This parameter can be specified
+ multiple times.
+
+
-
+ Show messages for the
- specified systemd unit. This will add
- a match for messages from the unit
- (_SYSTEMD_UNIT=)
- and additional matches for messages
- from systemd and messages about
- coredumps for the specified unit.
- This parameter can be specified multiple times.
-
+ specified systemd unit
+ UNIT (such
+ as a service unit), or for any of the
+ units matched by
+ PATTERN.
+ If a pattern is specified, a list of
+ unit names found in the journal is
+ compared with the specified pattern
+ and all that match are used. For each
+ unit name, a match is added for
+ messages from the unit
+ (_SYSTEMD_UNIT=UNIT),
+ along with additional matches for
+ messages from systemd and messages
+ about coredumps for the specified
+ unit.
+
+ This parameter can be specified
+ multiple times.
@@ -551,7 +567,7 @@
the form FROM..TO. The log levels are
the usual syslog log levels as
documented in
- syslog3,
+ syslog3,
i.e. emerg (0),
alert (1),
crit (2),
@@ -855,6 +871,9 @@
operation.
+
+
+
@@ -865,21 +884,7 @@
failure code is returned.
-
- Environment
-
-
-
- $SYSTEMD_PAGER
- Pager to use when
- is not given;
- overrides $PAGER. Setting
- this to an empty string or the value
- cat is equivalent to passing
- .
-
-
-
+ Examples
@@ -922,6 +927,10 @@
journalctl -k -b -1
+ Show a live log display from a system service apache.service:
+
+ journalctl -f -u apache
+
@@ -930,6 +939,7 @@
systemd1,
systemd-journald.service8,
systemctl1,
+ coredumpctl1,
systemd.journal-fields7,
journald.conf5