Initial import from FreeBSD RELENG_4:
[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 .Dd November 23, 1997
3 .Dt PROCCTL 8
4 .Os
5 .Sh NAME
6 .Nm procctl
7 .Nd clear procfs event flags
8 .Sh SYNOPSIS
9 .Nm
10 .Ar pid ...
11 .Sh DESCRIPTION
12 The
13 .Nm
14 utility clears the
15 .Xr procfs 5
16 event mask used by
17 .Xr truss 1 .
18 This can be used in the event that a process is left stranded, since
19 the
20 .Xr procfs 5
21 events result in a non-killable process.
22 The arguments are a list of process IDs;
23 .Nm
24 goes through the list and clears the event masks for each specified process.
25 .Sh SEE ALSO
26 .Xr truss 1 ,
27 .Xr procfs 5
28 .Sh HISTORY
29 The
30 .Nm
31 utility was written by
32 .An Sean Eric Fagan
33 for
34 .Fx .