display kernel trace data
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
The options are as follows:
- Display all numbers in decimal. By default, values are printed out in hexadecimal.
- Display the specified file instead of ktrace.out. Specifying ‘-’ will read from standard input.
- Display thread identifiers.
- Loop reading the trace file, once the end-of-file is reached, waiting for more data.
- Display at most maxdata bytes when decoding I/O.
- Suppress ad hoc translations. Normally
kdumptries 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.
- Show output only for the pid specified.
- Display relative timestamps (time since previous entry).
- Display absolute timestamps for each entry (seconds since the Epoch).
- If both options are specified, display timestamps relative to trace start.
- Select which tracepoints to display. The argument can contain one or more
of the letters
cinpstuxX+. See the
-toption of ktrace(1) for the meaning of the letters.
- Display I/O data with hexadecimal data and printable ASCII characters side by side.
- Display I/O data in hexadecimal.
- default ktrace dump file
kdump command appeared in