pkill.1 (e4c7371cefb3d80286e05d1fdf24f35fc607b4bb) | pkill.1 (958805925657cbe14c0f1c72039f4681551edf99) |
---|---|
1.\" $NetBSD: pkill.1,v 1.8 2003/02/14 15:59:18 grant Exp $ 2.\" 3.\" $FreeBSD$ 4.\" 5.\" Copyright (c) 2002 The NetBSD Foundation, Inc. 6.\" All rights reserved. 7.\" 8.\" This code is derived from software contributed to The NetBSD Foundation --- 15 unchanged lines hidden (view full) --- 24.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30.\" POSSIBILITY OF SUCH DAMAGE. 31.\" | 1.\" $NetBSD: pkill.1,v 1.8 2003/02/14 15:59:18 grant Exp $ 2.\" 3.\" $FreeBSD$ 4.\" 5.\" Copyright (c) 2002 The NetBSD Foundation, Inc. 6.\" All rights reserved. 7.\" 8.\" This code is derived from software contributed to The NetBSD Foundation --- 15 unchanged lines hidden (view full) --- 24.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30.\" POSSIBILITY OF SUCH DAMAGE. 31.\" |
32.Dd December 1, 2018 | 32.Dd December 3, 2018 |
33.Dt PKILL 1 34.Os 35.Sh NAME 36.Nm pgrep , pkill 37.Nd find or signal processes by name 38.Sh SYNOPSIS 39.Nm pgrep 40.Op Fl LSafilnoqvx --- 195 unchanged lines hidden (view full) --- 236will quietly fail. 237.Pp 238Note that a running 239.Nm pgrep 240or 241.Nm pkill 242process will never consider itself nor system processes (kernel threads) as 243a potential match. | 33.Dt PKILL 1 34.Os 35.Sh NAME 36.Nm pgrep , pkill 37.Nd find or signal processes by name 38.Sh SYNOPSIS 39.Nm pgrep 40.Op Fl LSafilnoqvx --- 195 unchanged lines hidden (view full) --- 236will quietly fail. 237.Pp 238Note that a running 239.Nm pgrep 240or 241.Nm pkill 242process will never consider itself nor system processes (kernel threads) as 243a potential match. |
244.Sh IMPLEMENTATION NOTES 245The Sun Solaris implementation utilised procfs to obtain process information. 246This implementation utilises 247.Xr kvm 3 248instead. |
|
244.Sh EXIT STATUS 245The 246.Nm pgrep 247and 248.Nm pkill 249utilities 250return one of the following values upon exit: 251.Bl -tag -width indent --- 19 unchanged lines hidden (view full) --- 271is deprecated, and its use is discouraged in favor of 272.Dq Fl j Li any . 273.Sh SEE ALSO 274.Xr kill 1 , 275.Xr killall 1 , 276.Xr ps 1 , 277.Xr flock 2 , 278.Xr kill 2 , | 249.Sh EXIT STATUS 250The 251.Nm pgrep 252and 253.Nm pkill 254utilities 255return one of the following values upon exit: 256.Bl -tag -width indent --- 19 unchanged lines hidden (view full) --- 276is deprecated, and its use is discouraged in favor of 277.Dq Fl j Li any . 278.Sh SEE ALSO 279.Xr kill 1 , 280.Xr killall 1 , 281.Xr ps 1 , 282.Xr flock 2 , 283.Xr kill 2 , |
284.Xr kvm 3, |
|
279.Xr sigaction 2 , 280.Xr pidfile 3 , 281.Xr re_format 7 282.\" Xr signal 7 283.Sh HISTORY 284The 285.Nm pkill 286and 287.Nm pgrep 288utilities 289first appeared in 290.Nx 1.6 . 291They are modelled after utilities of the same name that appeared in Sun 292Solaris 7. 293They made their first appearance in 294.Fx 5.3 . 295.Sh AUTHORS 296.An Andrew Doran Aq Mt ad@NetBSD.org | 285.Xr sigaction 2 , 286.Xr pidfile 3 , 287.Xr re_format 7 288.\" Xr signal 7 289.Sh HISTORY 290The 291.Nm pkill 292and 293.Nm pgrep 294utilities 295first appeared in 296.Nx 1.6 . 297They are modelled after utilities of the same name that appeared in Sun 298Solaris 7. 299They made their first appearance in 300.Fx 5.3 . 301.Sh AUTHORS 302.An Andrew Doran Aq Mt ad@NetBSD.org |