Home Explore Blog CI



man-pages

8th chunk of `journalctl.man`
b8013fa03eff95d4896381e6f848ae8e1db7df910a6d54210000000100000fa2
       The following options control page support:

       --no-pager
           Do not pipe output into a pager.

       -e, --pager-end
           Immediately jump to the end of the journal inside the implied pager tool. This implies -n1000 to guarantee that the pager will not buffer logs of unbounded size. This may be overridden with an explicit -n with
           some other numeric value, while -nall will disable this cap. Note that this option is only supported for the less(1) pager.

FORWARD SECURE SEALING (FSS) OPTIONS
       The following options may be used together with the --setup-keys command described below:

       --interval=
           Specifies the change interval for the sealing key when generating an FSS key pair with --setup-keys. Shorter intervals increase CPU consumption but shorten the time range of undetectable journal alterations.
           Defaults to 15min.

       --verify-key=
           Specifies the FSS verification key to use for the --verify operation.

       --force
           When --setup-keys is passed and Forward Secure Sealing (FSS) has already been configured, recreate FSS keys.

COMMANDS
       The following commands are understood. If none is specified the default is to display journal records.

       -N, --fields
           Print all field names currently used in all entries of the journal.

       -F, --field=
           Print all possible data values the specified field can take in all entries of the journal.

       --list-boots
           Show a tabular list of boot numbers (relative to the current boot), their IDs, and the timestamps of the first and last message pertaining to the boot.

       --disk-usage
           Shows the current disk usage of all journal files. This shows the sum of the disk usage of all archived and active journal files.

       --vacuum-size=, --vacuum-time=, --vacuum-files=
           Removes the oldest archived journal files until the disk space they use falls below the specified size (specified with the usual "K", "M", "G" and "T" suffixes), or all archived journal files contain no data older
           than the specified timespan (specified with the usual "s", "m", "h", "days", "months", "weeks" and "years" suffixes), or no more than the specified number of separate journal files remain. Note that running
           --vacuum-size= has only an indirect effect on the output shown by --disk-usage, as the latter includes active journal files, while the vacuuming operation only operates on archived journal files. Similarly,
           --vacuum-files= might not actually reduce the number of journal files to below the specified number, as it will not remove active journal files.

           --vacuum-size=, --vacuum-time= and --vacuum-files= may be combined in a single invocation to enforce any combination of a size, a time and a number of files limit on the archived journal files. Specifying any of
           these three parameters as zero is equivalent to not enforcing the specific limit, and is thus redundant.

           These three switches may also be combined with --rotate into one command. If so, all active files are rotated first, and the requested vacuuming operation is executed right after. The rotation has the effect that
           all currently active files are archived (and potentially new, empty journal files opened as replacement), and hence the vacuuming operation has the greatest effect as it can take all log data written so far into
           account.

       --verify
           Check the journal file for internal consistency. If the file has been generated with FSS enabled and the FSS verification key has been specified with --verify-key=, authenticity of the journal file is verified.

       --sync
           Asks the journal daemon to write all yet unwritten journal data to the backing file system and synchronize all journals. This call does not return until the synchronization operation is complete. This command
           guarantees

Title: journalctl Commands: FSS Options, Field Information, Disk Usage, Vacuuming, Verification, and Synchronization
Summary
This section details various `journalctl` commands. It covers Forward Secure Sealing (FSS) key recreation (`--force`), printing field names and values (`-N/--fields`, `-F/--field`), displaying boot information (`--list-boots`), showing disk usage (`--disk-usage`), removing old archived journal files based on size, time, or file count (`--vacuum-size`, `--vacuum-time`, `--vacuum-files`), checking journal file consistency and authenticity (`--verify`), and synchronizing journal data to the file system (`--sync`).