freebsd-skq/usr.sbin/procctl/procctl.8

35 lines
592 B
Groff
Raw Normal View History

1999-08-28 01:35:59 +00:00
.\" $FreeBSD$
.Dd November 23, 1997
1999-06-15 14:04:19 +00:00
.Dt PROCCTL 8
1997-12-06 04:19:09 +00:00
.Os FreeBSD
.Sh NAME
.Nm procctl
1997-12-06 04:19:09 +00:00
.Nd clear procfs event flags
.Sh SYNOPSIS
2000-02-21 11:05:56 +00:00
.Nm
.Ar pid ...
1997-12-06 04:19:09 +00:00
.Sh DESCRIPTION
2000-02-21 11:05:56 +00:00
The
.Nm
command clears the
1997-12-06 04:19:09 +00:00
.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.
2000-02-21 11:05:56 +00:00
The arguments are a list of process IDs;
.Nm
1997-12-06 04:19:09 +00:00
goes through the list and clears the event masks for each specified process.
.Sh SEE ALSO
1997-12-06 04:19:09 +00:00
.Xr truss 1 ,
.Xr procfs 5
.Sh HISTORY
The
.Nm
command was written by
.An Sean Eric Fagan
for
.Fx .