[OpenBSD]

Manual Page Search Parameters

KDUMP(1) General Commands Manual KDUMP(1)

NAME

kdumpdisplay kernel trace data

SYNOPSIS

kdump [-dHlnRTXx] [-f file] [-m maxdata] [-p pid] [-t [cinpstuxX+]]

DESCRIPTION

kdump displays the kernel trace files produced with ktrace(1) in human-readable format. By default, the file ktrace.out in the current directory is displayed, unless overridden by the -f option.
The options are as follows:
 
 
-d
Display all numbers in decimal. By default, values are printed out in hexadecimal.
 
 
-f file
Display the specified file instead of ktrace.out.
 
 
-H
Display thread identifiers.
 
 
-l
Loop reading the trace file, once the end-of-file is reached, waiting for more data.
 
 
-m maxdata
Display at most maxdata bytes when decoding I/O.
 
 
-n
Suppress ad hoc translations. Normally kdump tries to decode many system calls into a more human-readable format. For example, ioctl(2) values are replaced with the macro name and errno values are replaced with the strerror(3) string. Suppressing this feature yields a more consistent output format and is easily amenable to further processing.
 
 
-p pid
Show output only for the pid specified.
 
 
-R
Display relative timestamps (time since previous entry).
 
 
-T
Display absolute timestamps for each entry (seconds since the Epoch).
 
 
-TR
If both options are specified, display timestamps relative to trace start.
 
 
-t [cinpstuxX+]
Selects which tracepoints to display. See the -t option of ktrace(1) for the definitions of the flags.
 
 
-X
Display I/O data with hexadecimal data and printable ASCII characters side by side.
 
 
-x
Display I/O data in hexadecimal.

FILES

ktrace.out
default ktrace dump file

SEE ALSO

ktrace(1)

HISTORY

The kdump command appeared in 4.4BSD.
July 18, 2016 OpenBSD-current