X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fjournalctl.xml;h=0703bf9fb613f45c58370174b1beab5f4c104aca;hp=8890c64a41fbbfae8c61ac84ef73248873243cbd;hb=fbcedaaea4705a0548d50d9702ece04f73847344;hpb=21ac6ff143cc8bebfbd1818af28e8c6f82cd5265 diff --git a/man/journalctl.xml b/man/journalctl.xml index 8890c64a4..0703bf9fb 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -84,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 @@ -98,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 @@ -117,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. @@ -130,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. - - @@ -200,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. @@ -215,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. @@ -380,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. @@ -389,6 +379,13 @@ + + + + Express time in Coordinated Universal + Time (UTC). + + @@ -508,29 +505,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 - UNIT, or - for any of the units matched by + 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 + unit name, a match is added for messages from the unit - (_SYSTEMD_UNIT=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. + multiple times. @@ -562,7 +574,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), @@ -749,8 +761,37 @@ Shows the current disk - usage of all - journal files. + usage of all journal files. This shows + the sum of the disk usage of all + archived and active journal + files. + + + + + + + Removes archived + journal files until the disk space + they use falls below the specified + size (specified with the usual K, M, + G, T suffixes), or all journal files + contain no data older than the + specified timespan (specified with the + usual s, min, h, days, months, weeks, + years suffixes). Note that running + has + only indirect effect on the output + shown by + as the latter includes active journal + files, while the former only operates + on archived journal + files. + and + may be combined in a single invocation + to enforce both a size and time limit + on the archived journal + files. @@ -866,6 +907,23 @@ operation. + + + + Asks the Journal + daemon to flush any log data stored in + /run/log/journal + into + /var/log/journal, + if persistent storage is enabled. This + call does not return until the + operation is + complete. + + + + + @@ -919,6 +977,10 @@ journalctl -k -b -1 + Show a live log display from a system service apache.service: + + journalctl -f -u apache + @@ -927,6 +989,7 @@ systemd1, systemd-journald.service8, systemctl1, + coredumpctl1, systemd.journal-fields7, journald.conf5