version 1.5, 1997/06/18 09:44:08 |
version 1.6, 1998/09/26 19:54:56 |
|
|
.Op Fl adi |
.Op Fl adi |
.Op Fl f Ar trfile |
.Op Fl f Ar trfile |
.Op Fl t Ar trstr |
.Op Fl t Ar trstr |
command |
.Ar command |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm Ktrace |
.Nm ktrace |
enables kernel trace logging for the specified processes. |
enables kernel trace logging for the specified processes. |
Kernel trace data is logged to the file |
Kernel trace data is logged to the file |
.Pa ktrace.out . |
.Pa ktrace.out . |
|
|
.Pp |
.Pp |
.Dl \&$ ktrace -C |
.Dl \&$ ktrace -C |
.Pp |
.Pp |
The trace file is not human readable; use |
The trace file is not human-readable; use |
.Xr kdump 1 |
.Xr kdump 1 |
to decode it. |
to decode it. |
.Pp |
.Pp |
|
|
Inherit; pass the trace flags to all future children of the designated |
Inherit; pass the trace flags to all future children of the designated |
processes. |
processes. |
.It Fl p Ar pid |
.It Fl p Ar pid |
Enable (disable) tracing on the indicated process id (only one |
Enable (disable) tracing on the indicated process ID (only one |
.Fl p |
.Fl p |
flag is permitted). |
flag is permitted). |
.It Fl t Ar trstr |
.It Fl t Ar trstr |
|
|
.Sh HISTORY |
.Sh HISTORY |
The |
The |
.Nm ktrace |
.Nm ktrace |
command appears in |
command appeared in |
.Bx 4.4 . |
.Bx 4.4 . |