X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fjournalctl.xml;h=fa29c4103ca521007485611591c790eafd548e4b;hb=785a51eb682136b2c7ee33fabe64c72d20fa37db;hp=3786fdf51491f476a4b876adb55272ecbb141bbb;hpb=cfbc22abd0525570a6e58968d518ea9a7d0403ba;p=elogind.git diff --git a/man/journalctl.xml b/man/journalctl.xml index 3786fdf51..fa29c4103 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -49,7 +49,9 @@ - journalctl OPTIONS MATCHES + journalctl + OPTIONS + MATCHES @@ -82,7 +84,7 @@ 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 separate word on the + + appears as separate word on the command line all matches before and after are combined in a disjunction (i.e. logical OR). @@ -114,8 +116,8 @@ - + Prints a short help text and exits. @@ -136,8 +138,16 @@ - + + + + Show all (printable) fields in + full. + + + + Show all fields in full, even if they include unprintable @@ -146,8 +156,8 @@ - + Show only the most recent journal entries, and continuously print @@ -156,19 +166,34 @@ - + + + + Immediately jump to + the end of the journal inside the + implied pager tool. This implies + to guarantee + that the pager won't 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 + pager. + + + + - Controls the number of - journal lines to show, counting from - the most recent ones. The argument is - optional, and if specified is a - positive integer. If not specified and - in follow mode defaults to 10. If this - option is not passed and follow mode - is not enabled, how many lines are - shown is not - limited. + Show the most recent + 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. @@ -181,8 +206,16 @@ - + + + + Reverse output, so the newest + entries are displayed first. + + + + Controls the formatting of the journal entries that @@ -215,7 +248,10 @@ information). json formats entries as JSON data structures, one per - line. json-pretty + line (see Journal + JSON Format for more + information). json-pretty also formats entries as JSON data structures, but formats them in multiple lines in order to make them @@ -233,8 +269,32 @@ - + + + + Augment log lines with + explanation texts from the message + catalog. This will add explanatory + help texts to log messages in the + output where this is available. These + short help texts will explain the + context of an error or log event, + possible solutions, as well as + pointers to support forums, developer + documentation and any other relevant + manuals. Note that help texts are not + available for all messages, but only + for selected ones. For more + information on the message catalog + please refer to the Message + Catalog Developer + Documentation. + + + + Suppresses any warning message regarding inaccessible system @@ -243,8 +303,8 @@ - + Show entries interleaved from all available @@ -253,63 +313,54 @@ - + Show data only from - current boot. + current boot. This will add a match + for _BOOT_ID= for + the current boot ID of the + kernel. - - + + - Start showing entries - from the location in the journal - specified by the passed - cursor. + Show kernel messages from + current boot. This implies + and adds the match _TRANSPORT=kernel. + - - - - Start showing entries - newer or of the specified date, - resp. older or of the specified - date. Date specifications should be of - the format "2012-10-30 18:17:16". If - the time part is omitted, 00:00:00 is - assumed. If only the seconds component - is omitted, :00 is assumed. If the - date component is ommitted, the - current day is assumed. Alternatively - the strings - yesterday, - today, - tomorrow are - understood, which refer to 00:00:00 of - the day before the current day, the - current day, resp the day after the - current day. now - refers to the current time. Finally, - relative times may be specified, - prefixed with - or - +, referring to - times before resp. after the current - time. + + + + 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. + - - - - Takes an absolute - directory path as argument. If - specified journalctl will operate on the - specified journal directory instead of - the default runtime and system journal - paths. + + + Show messages for the + specified user session unit. This will + add a match for messages from the unit + (_SYSTEMD_USER_UNIT= + and _UID=) and + additional matches for messages from + session systemd and messages about + coredumps for the specified unit. + This parameter can be specified multiple times. + @@ -341,7 +392,115 @@ are shown. If a range is specified all messages within the range are shown, including both the start and the end - value of the range. + value of the range. This will add + PRIORITY= matches + for the specified + priorities. + + + + + + + Start showing entries + from the location in the journal + specified by the passed + cursor. + + + + + + + Start showing entries + on or newer than the specified date, + or on or older than the specified + date, respectively. Date specifications + should be of the format + 2012-10-30 18:17:16. + If the time part is omitted, + 00:00:00 is assumed. + If only the seconds component is omitted, + :00 is assumed. If the + date component is omitted, the current + day is assumed. Alternatively the strings + yesterday, + today, + tomorrow are + understood, which refer to 00:00:00 of + the day before the current day, the + current day, or the day after the + current day, respectively. now + refers to the current time. Finally, + relative times may be specified, + prefixed with - or + +, referring to + times before or after the current + time, respectively. + + + + + + + Print all possible + data values the specified field can + take in all entries of the + journal. + + + + + + + Show messages from + system services and the kernel (with + ). Show + messages from service of current user + (with ). + If neither is specified, show all + messages that the user can see. + + + + + + + + Takes a directory path + as argument. If specified journalctl + will operate on the specified journal + directory + DIR instead + of the default runtime and system + journal paths. + + + + + + Takes a file glob as + argument. If specified journalctl will + operate on the specified journal files + matching GLOB + instead of the default runtime and + system journal paths. May be specified + multiple times, in which case files will + be suitably interleaved. + + + + + + Takes a directory path + as argument. If specified journalctl + will operate on catalog file hierarchy + underneath the specified directory + instead of the root directory + (e.g. + will create + ROOT/var/lib/systemd/catalog/database). + @@ -377,6 +536,53 @@ journal files. + + + + List the contents of + the message catalog, as table of + message IDs plus their short + description strings. + + If any + ID128s are + specified, only those entries are shown. + + + + + + + + Show the contents of + the message catalog, with entries + separated by a line consisting of two + dashes and the id (the format is the + same as .catalog + files. + + If any + ID128s are + specified, only those entries are shown. + + + + + + + + Update the message + catalog index. This command needs to + be executed each time new catalog + files are installed, removed or + updated to rebuild the binary catalog + index. + + @@ -388,7 +594,10 @@ sealing key is stored in the journal data directory and shall remain on the host. The verification key should be - stored externally. + stored externally. Also see the + option in + journald.conf5 + for details. @@ -440,7 +649,7 @@ Environment - + $SYSTEMD_PAGER Pager to use when @@ -473,7 +682,7 @@ journalctl _SYSTEMD_UNIT=avahi-daemon.service _SYSTEMD_UNIT=dbus.service - If the separator "+" is used + If the separator + is used two expressions may be combined in a logical OR. The following will show all messages from the Avahi service process with the PID 28097 plus all messages @@ -486,7 +695,7 @@ journalctl /usr/bin/dbus-daemon - Show all logs of the kernel device node /dev/sda: + Show all logs of the kernel device node /dev/sda: journalctl /dev/sda