version 1.5, 1999/06/05 01:21:28 |
version 1.6, 2000/03/04 15:53:40 |
|
|
.Op Fl m Ar maxdata |
.Op Fl m Ar maxdata |
.Op Fl t Op cenis |
.Op Fl t Op cenis |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm kdump |
.Nm |
displays the kernel trace files produced with |
displays the kernel trace files produced with |
.Xr ktrace 1 |
.Xr ktrace 1 |
in human-readable format. |
in human-readable format. |
By default, the file |
By default, the file |
.Pa ktrace.out |
.Pa ktrace.out |
in the current directory is displayed. |
in the current directory is displayed, unless overriden by the |
|
.Fl f |
|
option. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Fl |
.Bl -tag -width Ds |
.It Fl d |
.It Fl d |
Display all numbers in decimal. |
Display all numbers in decimal. |
|
By default, values are printed out in hexadecimal. |
.It Fl e Ar emulation |
.It Fl e Ar emulation |
Interpret system call maps assuming the named emulation instead of "bsd". |
Interpret system call maps assuming the named emulation instead of |
|
.Qq bsd . |
|
For example, to view trace output from a Linux binary, use |
|
.Fl e Ar linux . |
.It Fl f Ar file |
.It Fl f Ar file |
Display the specified file instead of |
Display the specified file instead of |
.Pa ktrace.out . |
.Pa ktrace.out . |
|
|
.It Fl n |
.It Fl n |
Suppress ad hoc translations. |
Suppress ad hoc translations. |
Normally |
Normally |
.Nm kdump |
.Nm |
tries to decode many system calls into a more human-readable format. |
tries to decode many system calls into a more human-readable format. |
For example, |
For example, |
.Xr ioctl 2 |
.Xr ioctl 2 |
|
|
Display relative timestamps (time since previous entry). |
Display relative timestamps (time since previous entry). |
.It Fl T |
.It Fl T |
Display absolute timestamps for each entry (seconds since epoch). |
Display absolute timestamps for each entry (seconds since epoch). |
.It Fl t Ar cnis |
.It Fl t Op cenis |
See the |
See the |
.Fl t |
.Fl t |
option of |
option of |
.Xr ktrace 1 . |
.Xr ktrace 1 . |
.El |
.El |
|
.Sh FILES |
|
.Bl -tag -width ktrace.out -compact |
|
.It Pa ktrace.out |
|
default ktrace dump file |
|
.El |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr ktrace 1 |
.Xr ktrace 1 |
.Sh HISTORY |
.Sh HISTORY |
The |
The |
.Nm kdump |
.Nm |
command appeared in |
command appeared in |
.Bx 4.4 . |
.Bx 4.4 . |