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