KSTAT(1) | General Commands Manual | KSTAT(1) |
kstat
— display
kernel statistics
kstat |
[-w wait]
[name |
provider:instance:name:unit]
... |
The kstat
utility displays statistics
collected by the kernel. By default, all available data is displayed. If at
least one argument is given, the display is restricted to data that matches
at least one of the arguments.
The options are as follows:
-w
waitThe components of arguments are as follows:
If an empty string is given for any of the components, all values of the respective property are accepted.
A complete list of four-component arguments supported on the
current machine can be displayed by calling kstat
without any argument.
The kstat
utility exits 0 on
success, and >0 if an error occurs.
Show receive queue statistics for all interfaces and transmit queue statistics for all em(4) interfaces:
$ kstat rxq em*::txq:
The kstat
utility first appeared in
OpenBSD 6.8.
David Gwynne <dlg@openbsd.org>
August 13, 2020 | OpenBSD-current |