X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fjournalctl.xml;h=fa29c4103ca521007485611591c790eafd548e4b;hb=1e158d273bb63883566358cbb886cd4167421df6;hp=a533f4d0ea1f7fe44a03eb18e7a64a0f1d640cc6;hpb=c3f60ec54da2a5d1ba00cec6bb2c282f079aa3f6;p=elogind.git diff --git a/man/journalctl.xml b/man/journalctl.xml index a533f4d0e..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,8 +313,8 @@ - + Show data only from current boot. This will add a match @@ -264,14 +324,43 @@ - + + + + Show kernel messages from + current boot. This implies + and adds the match _TRANSPORT=kernel. + + + + + - Show data only of the - specified unit. This will add a match - for _SYSTEMD_UNIT= - for the specified - unit. + 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. + + + + + + + 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. + @@ -310,8 +399,8 @@ - + Start showing entries from the location in the journal @@ -326,14 +415,15 @@ 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 ommitted, the - current day is assumed. Alternatively - the strings + 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 @@ -350,15 +440,67 @@ - - + + + + 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 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. + + + + 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). + @@ -394,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. + + @@ -405,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. @@ -457,7 +649,7 @@ Environment - + $SYSTEMD_PAGER Pager to use when @@ -490,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 @@ -503,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