ktrdump8
Print kernel ktr trace buffer
Usage
ktrdump [-cflqrtH]
[-i
ktrfile]
[-M
core]
[-N
system]
[-o
outfile]
Overview
The ktrdump utility is used to dump the contents of the kernel ktr trace buffer.
The following options are available:
-
-c -
Print the CPU number that each entry was logged from.
-
-l -
Poll the kernel ktr trace buffer periodically dumping any new events after each poll.
-
-f -
Print the file and line number that each entry was logged from.
-
-q -
Quiet mode; do not print the column header.
-
-r -
Print relative timestamps rather than absolute timestamps.
-
-t -
Print the timestamp for each entry.
-
-H -
Print the thread ID for each entry.
-
-i ktrfile -
File containing saved ktr trace events; for more information see the ktr(4) manual page.
-
-N system -
The kernel image to resolve symbols from. The default is the value returned via getbootfile(3).
-
-M core -
The core file or memory image to read from. The default is /dev/mem.
-
-o outfile -
The file to write the output to. The default is standard output.
Releases
56 releases since FreeBSD 5.0-RELEASE; the text changed 34 times.
- 5.0–5.2.1
- 5.3–5.5
- 6.0–6.3
- 6.4
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2
- 8.3
- 8.4
- 9.0
- 9.1
- 9.2
- 9.3
- 10.0
- 10.1
- 10.2
- 10.3
- 10.4
- 11.0
- 11.1
- 11.2
- 11.3
- 11.4
- 12.0
- 12.1
- 12.2
- 12.3
- 12.4
- 13.0–13.2
- 13.3–16.0
-H since FreeBSD 9.0-RELEASE;
-M since FreeBSD 10.2-RELEASE;
-N since FreeBSD 10.2-RELEASE;
-i since FreeBSD 6.0-RELEASE;
-l since FreeBSD 12.1-RELEASE;
-q since FreeBSD 5.3-RELEASE;
-r since FreeBSD 5.3-RELEASE.
-e until FreeBSD 10.1-RELEASE;
-m until FreeBSD 10.1-RELEASE.