summaryrefslogtreecommitdiffstats
path: root/usr.sbin/procctl/procctl.8
blob: 7179ceb8fe04ad0a8b1a9fb5e485839b76ec5cb0 (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
.\" $Id: procctl.8,v 1.2 1997/12/07 02:30:43 peter Exp $
.Dd Nov 23, 1997
.Dt PROCCTL 1
.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
.Bx Free .
OpenPOWER on IntegriCloud