summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man5/procfs.55
-rw-r--r--usr.bin/truss/truss.18
2 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man5/procfs.5 b/share/man/man5/procfs.5
index 47f5f9a..5963eae 100644
--- a/share/man/man5/procfs.5
+++ b/share/man/man5/procfs.5
@@ -75,6 +75,10 @@ prefix,
in which case that signal is delivered to the process
(see
.Xr sigaction 2 ) .
+.Pp
+The
+.Xr procctl 8
+utility can be used to clear tracepoints in a stuck process.
.It Pa dbregs
The debug registers as defined by
.Dv "struct dbregs"
@@ -245,6 +249,7 @@ the process' current status
.Xr sigaction 2 ,
.Xr unmount 2 ,
.Xr mount_procfs 8 ,
+.Xr procctl 8 ,
.Xr pseudofs 9
.Sh AUTHORS
.An -nosplit
diff --git a/usr.bin/truss/truss.1 b/usr.bin/truss/truss.1
index ef459d9..9a4a0ac 100644
--- a/usr.bin/truss/truss.1
+++ b/usr.bin/truss/truss.1
@@ -68,6 +68,11 @@ and
.Ar command
options are mutually exclusive.)
.El
+.Pp
+The
+.Xr procctl 8
+utility can be used to clear tracepoints in a stuck process
+left behind if truss abnormally terminates.
.Sh EXAMPLES
# Follow the system calls used in echoing "hello"
.Dl $ truss /bin/echo hello
@@ -78,7 +83,8 @@ options are mutually exclusive.)
.Sh SEE ALSO
.Xr kdump 1 ,
.Xr ktrace 1 ,
-.Xr procfs 5
+.Xr procfs 5 ,
+.Xr procctl 8
.Sh HISTORY
The
.Nm
OpenPOWER on IntegriCloud