version 1.6, 1998/09/26 19:54:56 |
version 1.7, 1999/06/05 01:21:28 |
|
|
.\" |
.\" |
.Dd June 6, 1993 |
.Dd June 6, 1993 |
.Dt KTRACE 1 |
.Dt KTRACE 1 |
.Os BSD 4.4 |
.Os |
.Sh NAME |
.Sh NAME |
.Nm ktrace |
.Nm ktrace |
.Nd enable kernel process tracing |
.Nd enable kernel process tracing |
|
|
.It Fl d |
.It Fl d |
Descendants; perform the operation for all current children of the |
Descendants; perform the operation for all current children of the |
designated processes. |
designated processes. |
.It Fl f Ar file |
.It Fl f Ar file |
Log trace records to |
Log trace records to |
.Ar file |
.Ar file |
instead of |
instead of |
.Pa ktrace.out . |
.Pa ktrace.out . |
.It Fl g Ar pgid |
.It Fl g Ar pgid |
Enable (disable) tracing on all processes in the process group (only one |
Enable (disable) tracing on all processes in the process group (only one |
.Fl g |
.Fl g |
flag is permitted). |
flag is permitted). |
.It Fl i |
.It Fl i |
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 |
The string argument represents the kernel trace points, one per letter. |
The string argument represents the kernel trace points, one per letter. |
The following table equates the letters with the tracepoints: |
The following table equates the letters with the tracepoints: |
.Pp |
.Pp |