Use more usual formatting for the EXAMPLES section of ktrace(1).
MFC after: 2 weeks Sponsored by: DARPA, AFRL
This commit is contained in:
parent
391aafd7ab
commit
c5ed286463
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321327
@ -28,7 +28,7 @@
|
||||
.\" @(#)ktrace.1 8.1 (Berkeley) 6/6/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd March 31, 2016
|
||||
.Dd July 24, 2017
|
||||
.Dt KTRACE 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -148,31 +148,31 @@ and
|
||||
.Ar command
|
||||
options are mutually exclusive.
|
||||
.Sh EXAMPLES
|
||||
# trace all kernel operations of process id 34
|
||||
Trace all kernel operations of process id 34:
|
||||
.Dl $ ktrace -p 34
|
||||
.Pp
|
||||
# trace all kernel operations of processes in process group 15 and
|
||||
# pass the trace flags to all current and future children
|
||||
Trace all kernel operations of processes in process group 15 and
|
||||
pass the trace flags to all current and future children:
|
||||
.Dl $ ktrace -idg 15
|
||||
.Pp
|
||||
# disable all tracing of process 65
|
||||
Disable all tracing of process 65:
|
||||
.Dl $ ktrace -cp 65
|
||||
.Pp
|
||||
# disable tracing signals on process 70 and all current children
|
||||
Disable tracing signals on process 70 and all current children:
|
||||
.Dl $ ktrace -t s -cdp 70
|
||||
.Pp
|
||||
# enable tracing of
|
||||
Enable tracing of
|
||||
.Tn I/O
|
||||
on process 67
|
||||
on process 67:
|
||||
.Dl $ ktrace -ti -p 67
|
||||
.Pp
|
||||
# run the command "w", tracing only system calls
|
||||
Run the command "w", tracing only system calls:
|
||||
.Dl $ ktrace -tc w
|
||||
.Pp
|
||||
# disable all tracing to the file "tracedata"
|
||||
Disable all tracing to the file "tracedata":
|
||||
.Dl $ ktrace -c -f tracedata
|
||||
.Pp
|
||||
# disable tracing of all user-owned processes
|
||||
Disable tracing of all user-owned processes:
|
||||
.Dl $ ktrace -C
|
||||
.Sh SEE ALSO
|
||||
.Xr kdump 1 ,
|
||||
|
Loading…
Reference in New Issue
Block a user