summaryrefslogtreecommitdiffstats
path: root/usr.sbin/procctl/procctl.8
blob: 58c52809d2dafd92c17bdcaef3569b8ed4da8aef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.\" $FreeBSD$
.Dd Nov 23, 1997
.Dt PROCCTL 8
.Os FreeBSD
.Sh NAME
.Nm procctl
.Nd clear procfs event flags
.Sh SYNOPSIS
.Nm procctl
.Ar command
.Op Ar ...
.Sh DESCRIPTION
.Nm Procctl
clears the
.Xr procfs 5
event mask used by
.Xr truss 1 .
This can be used in the event that a process is left stranded, since
the
.Xr procfs 5
events result in a non-killable process.
The options are a list of process ID's;
.Nm
goes through the list and clears the event masks for each specified process.
.Sh SEE ALSO
.Xr truss 1 ,
.Xr procfs 5
.Sh HISTORY
The
.Nm
command was written by
.An Sean Eric Fagan
for
.Fx .
OpenPOWER on IntegriCloud