NAME
kdump
—
display kernel trace data
SYNOPSIS
kdump |
[-acdjnlRT ] [-f
file] [-m
maxdata] [-t [cnisuw]]
[-p pid] |
DESCRIPTION
Thekdump
command 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,
which may be overridden by the -f
option.
The options are as follows:
-a
- Display full human readable output. This option turns on
-c
and-R
. -c
- Display the cpu the thread is executing on.
-d
- Display all numbers in decimal.
-j
- Use a fixed format output, otherwise a more human readable output is used.
-f
file- Display the specified file instead of ktrace.out.
-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; set
to
0
to disable the size limit. -p
pid- Display only records for process pid.
-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. -R
- Display relative timestamps (time since previous entry).
-T
- Display absolute timestamps for each entry (seconds since epoch).
-t
cnisuw- See the
-t
option of ktrace(1).
FILES
- ktrace.out
- default ktrace dump file
SEE ALSO
HISTORY
The kdump
command appeared in
4.4BSD.