xref: /dragonfly/usr.sbin/procctl/procctl.8 (revision 548a3528)
1.\" $FreeBSD: src/usr.sbin/procctl/procctl.8,v 1.7.2.3 2003/03/11 22:31:31 trhodes Exp $
2.Dd December 6, 2004
3.Dt PROCCTL 8
4.Os
5.Sh NAME
6.Nm procctl
7.Nd clear procfs event flags
8.Sh SYNOPSIS
9.Nm
10.Op Fl v
11.Ar pid ...
12.Sh DESCRIPTION
13The
14.Nm
15utility clears the
16.Xr procfs 5
17event mask used by
18.Xr truss 1 .
19This can be used in the event that a process is left stranded, since
20the
21.Xr procfs 5
22events result in a non-killable process.
23The arguments are a list of process IDs;
24.Nm
25goes through the list and clears the event masks for each specified process.
26.Pp
27The options are as follows:
28.Bl -tag -width Ds
29.It Fl v
30Verbose mode.
31.El
32.Sh SEE ALSO
33.Xr truss 1 ,
34.Xr procfs 5
35.Sh HISTORY
36The
37.Nm
38utility was written by
39.An Sean Eric Fagan
40for
41.Fx .
42.Pp
43Some contributions made by
44.An Liam J. Foy Aq Mt liamfoy@sepulcrum.org
45