01f12ea37ba4bad5f820bb88cb5e3fe49e4dae58
[dragonfly.git] / usr.sbin / procctl / procctl.8
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.3 2004/12/06 21:13:51 liamfoy 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
14 The
15 .Nm
16 utility clears the
17 .Xr procfs 5
18 event mask used by
19 .Xr truss 1 .
20 This can be used in the event that a process is left stranded, since
21 the
22 .Xr procfs 5
23 events result in a non-killable process.
24 The arguments are a list of process IDs;
25 .Nm
26 goes through the list and clears the event masks for each specified process.
27 .Pp
28 The options are as follows:
29 .Bl -tag -width Ds
30 .Bl -tag -width Ds
31 .It Fl v
32 Verbose mode.
33 .Sh SEE ALSO
34 .Xr truss 1 ,
35 .Xr procfs 5
36 .Sh HISTORY
37 The
38 .Nm
39 utility was written by
40 .An Sean Eric Fagan
41 for
42 .Fx .
43 .Pp
44 Some contributions made by
45 .An Liam J. Foy Aq liamfoy@sepulcrum.org