2

journalctl 有一个--output-fields标志,允许打印某些字段

       --output-fields=
           A comma separated list of the fields which should be included in the output. This has an effect only for
           the output modes which would normally show all fields (verbose, export, json, json-pretty, json-sse and
           json-seq), as well as on cat. For the former, the "__CURSOR", "__REALTIME_TIMESTAMP",
           "__MONOTONIC_TIMESTAMP", and "_BOOT_ID" fields are always printed.

我想知道是否有办法要求“除了以_开头的所有字段”?

4

0 回答 0