X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fjournalctl.xml;h=d4e031619a62954d4b6655c56b44e5ff6385c848;hp=55474c53d9e198b9410a0721215970e4040951e1;hb=42483a747489ff46aed3588b78bf4b9480dbeaf7;hpb=e0e009c067aa7237f9683c46e5845bbb11ec67c2 diff --git a/man/journalctl.xml b/man/journalctl.xml index 55474c53d..d4e031619 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,7 +128,7 @@ 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; 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. - - @@ -202,7 +192,7 @@ with some other numeric value on the command line. Note that this option is only supported for the - less1 + less1 pager. @@ -379,7 +369,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 +497,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 +566,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 +870,9 @@ operation. + + + @@ -865,21 +883,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 +926,10 @@ journalctl -k -b -1 + Show a live log display from a system service apache.service: + + journalctl -f -u apache + @@ -930,6 +938,7 @@ systemd1, systemd-journald.service8, systemctl1, + coredumpctl1, systemd.journal-fields7, journald.conf5