MirBSD manpage: kdump(1)

KDUMP(1)                     BSD Reference Manual                     KDUMP(1)

NAME

     kdump - display kernel trace data

SYNOPSIS

     kdump [-dnlRT] [-e emulation] [-f file] [-m maxdata] [-p pid]
           [-t [ceinsw]]

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.

     -e emulation
             Interpret system call maps assuming the named emulation instead
             of "bsd". For example, to view trace output from a Linux binary,
             use -e linux.

     -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.

     -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 epoch).

     -t [ceinsw]
             Selects which tracepoints to display. See the -t option of
             ktrace(1) for the definitions of the flags.

FILES

     ktrace.out  default ktrace dump file

SEE ALSO

     ktrace(1)

HISTORY

     The kdump command appeared in 4.4BSD.

MirBSD #10-current               June 6, 1993                                1

Generated on 2022-12-24 01:00:14 by $MirOS: src/scripts/roff2htm,v 1.113 2022/12/21 23:14:31 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2022 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.

Kontakt / Impressum & Datenschutzerklärung