KTRDUMP(8) MidnightBSD System Manager’s Manual KTRDUMP(8)


ktrdump — print kernel ktr trace buffer


ktrdump [−cfqrt] [−e execfile] [−i ktrfile] [−m corefile] [−o outfile]


The ktrdump utility is used to dump the contents of the kernel ktr trace buffer.

The following options are available:


Print the CPU number that each entry was logged from.


Print the file and line number that each entry was logged from.


Quiet mode; do not print the column header.


Print relative timestamps rather than absolute timestamps.


Print the timestamp for each entry.

−i ktrfile

File containing saved ktr trace events; for more information see the ktr(4) manual page.

−e execfile

The kernel image to resolve symbols from. The default is the value returned via getbootfile(3).

−m corefile

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.


ktr(4), ktr(9)


The ktrdump utility first appeared in FreeBSD 5.0.


The ktrdump utility was implemented by Jake Burkholder 〈jake@FreeBSD.org〉.

This manual page was written by Chad David 〈davidc@FreeBSD.org〉.

MidnightBSD 0.3 March 8, 2005 MidnightBSD 0.3