Definition:

Synopsis:

List of options:

  • -C, --clear Clear the ring buffer.
  • -f, --facility list
    • Restrict output to the given (comma-separated) list of facilities. For example:
    • dmesg --facility=daemon will print messages from system daemons only. For all supported facilities see the —help output.
  • -l, --level list
    • Restrict output to the given (comma-separated) list of levels. For example:
      • dmesg --level=err,warn will print error and warning messages only. For all supported levels see the —help output.
  • -e, --reltime
    • Display the local time and the delta in human-readable format. Be aware that conversion to the local time could be inaccurate (see -T for more details).
    • -L, --color[=when]
      • Colorize the output. The optional argument when can be auto, never or always. If the when argument is omitted, it defaults to auto. The colors can be disabled; for the current built-in default see the —help output. See also the COLORS section below.
    • -H: Humanfriendly
    • -h: help