Ze command
Description
Reads from /dev/kmsg. Filter by syslog level (emerg through debug) and limit
with count. Without count, you get the newest 50 messages. Linux only. Useful
for spotting NIC errors or OOM events.
Arguments
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
level | enum | no | emerg alert crit err warning notice info debug | Filter by syslog level. | The word is the highest syslog level to show, and every more severe level is included with it. A digit from 0 to 7 is accepted in its place. Absent, or not a known level, nothing is filtered. |
count | uint | no | any value of this type | Maximum number of messages. | The value is from 1 to 10000 and the default is 50. Ze reads the whole ring buffer, applies the level filter, then keeps the newest count messages. A value outside the range is ignored and the default applies. |