journalctl: add --list-invocations command and -I/--invocation options
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 25 Apr 2024 04:38:24 +0000 (13:38 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 31 Jul 2024 22:31:44 +0000 (07:31 +0900)
commit7d3ae6b21308ca8959d7c70b1f9fa9012db6ec15
tree86dbc645619ff15578db959ccabd0f0b20a43440
parent82721be7d60c337374b1b75c153d9d12791f7f43
journalctl: add --list-invocations command and -I/--invocation options

The --list-invocations command is similar to --list-boots, but shows
invocation IDs of specified unit. This should be useful when showing
a specific invocation of a unit.

The --invocation option is similar to --boot, but takes a invocation ID
or an offset. The -I option is equivalent to --invocation=0.
man/journalctl.xml
shell-completion/bash/journalctl
src/journal/journalctl-filter.c
src/journal/journalctl-misc.c
src/journal/journalctl-misc.h
src/journal/journalctl-util.c
src/journal/journalctl-util.h
src/journal/journalctl.c
src/journal/journalctl.h