ktrace.1 (9bedbe6c7dcc2578c7c8f1327d0005adf50258f8) ktrace.1 (93e0d62d1c2a83232e87912c20f74ab92b0f22b2)
1.\" Copyright (c) 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)ktrace.1 8.1 (Berkeley) 6/6/93
1.\" Copyright (c) 1990, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)ktrace.1 8.1 (Berkeley) 6/6/93
33.\" $Id$
33.\"
34.Dd June 6, 1993
35.Dt KTRACE 1
36.Os BSD 4.4
37.Sh NAME
38.Nm ktrace
39.Nd enable kernel process tracing
40.Sh SYNOPSIS
34.\"
35.Dd June 6, 1993
36.Dt KTRACE 1
37.Os BSD 4.4
38.Sh NAME
39.Nm ktrace
40.Nd enable kernel process tracing
41.Sh SYNOPSIS
41.Nm ktrace
42.Nm
42.Op Fl aCcdi
43.Op Fl f Ar trfile
44.Op Fl g Ar pgrp
45.Op Fl p Ar pid
46.Op Fl t Ar trstr
43.Op Fl aCcdi
44.Op Fl f Ar trfile
45.Op Fl g Ar pgrp
46.Op Fl p Ar pid
47.Op Fl t Ar trstr
47.Nm ktrace
48.Nm
48.Op Fl adi
49.Op Fl f Ar trfile
50.Op Fl t Ar trstr
51command
52.Sh DESCRIPTION
49.Op Fl adi
50.Op Fl f Ar trfile
51.Op Fl t Ar trstr
52command
53.Sh DESCRIPTION
53.Nm Ktrace
54enables kernel trace logging for the specified processes.
54The
55.Nm
56command enables kernel trace logging for the specified processes.
55Kernel trace data is logged to the file
56.Pa ktrace.out .
57The kernel operations that are traced include system calls, namei
58translations, signal processing, and
59.Tn I/O .
60.Pp
61Once tracing is enabled on a process, trace data will be logged until
62either the process exits or the trace point is cleared.

--- 98 unchanged lines hidden (view full) ---

161.Sh SEE ALSO
162.Xr kdump 1
163.Sh BUGS
164Only works if
165.Ar file
166is a regular file.
167.Sh HISTORY
168The
57Kernel trace data is logged to the file
58.Pa ktrace.out .
59The kernel operations that are traced include system calls, namei
60translations, signal processing, and
61.Tn I/O .
62.Pp
63Once tracing is enabled on a process, trace data will be logged until
64either the process exits or the trace point is cleared.

--- 98 unchanged lines hidden (view full) ---

163.Sh SEE ALSO
164.Xr kdump 1
165.Sh BUGS
166Only works if
167.Ar file
168is a regular file.
169.Sh HISTORY
170The
169.Nm ktrace
170command appears in
171.Nm
172command appeared in
171.Bx 4.4 .
173.Bx 4.4 .