summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2017-08-05 09:44:21 +0000
committertrasz <trasz@FreeBSD.org>2017-08-05 09:44:21 +0000
commit33d7bb9f6ecde6b8963dec3ffc1fca4a672e2453 (patch)
tree1f6f7fba93b2e6c64a5b8c509f2a8b2f175d41d7 /usr.bin
parent5bdc29a4afc7b3def619c42cb96ee359373af79a (diff)
downloadFreeBSD-src-33d7bb9f6ecde6b8963dec3ffc1fca4a672e2453.zip
FreeBSD-src-33d7bb9f6ecde6b8963dec3ffc1fca4a672e2453.tar.gz
MFC r321327:
Use more usual formatting for the EXAMPLES section of ktrace(1).
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ktrace/ktrace.122
1 files changed, 11 insertions, 11 deletions
diff --git a/usr.bin/ktrace/ktrace.1 b/usr.bin/ktrace/ktrace.1
index 4a46052..e063494 100644
--- a/usr.bin/ktrace/ktrace.1
+++ b/usr.bin/ktrace/ktrace.1
@@ -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 ,
OpenPOWER on IntegriCloud