pkill.1 (b040210d7a079be996607a535fcf1e98d156a179) pkill.1 (cc55ad3d724e44a9ca80db40c7a9b3a08a1ce008)
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 February 11, 2010
32.Dd August 9, 2013
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
41.Op Fl F Ar pidfile
42.Op Fl G Ar gid
43.Op Fl M Ar core
44.Op Fl N Ar system
45.Op Fl P Ar ppid
46.Op Fl U Ar uid
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
41.Op Fl F Ar pidfile
42.Op Fl G Ar gid
43.Op Fl M Ar core
44.Op Fl N Ar system
45.Op Fl P Ar ppid
46.Op Fl U Ar uid
47.Op Fl c Ar class
47.Op Fl d Ar delim
48.Op Fl g Ar pgrp
49.Op Fl j Ar jid
50.Op Fl s Ar sid
51.Op Fl t Ar tty
52.Op Fl u Ar euid
53.Ar pattern ...
54.Nm pkill
55.Op Fl Ar signal
56.Op Fl ILafilnovx
57.Op Fl F Ar pidfile
58.Op Fl G Ar gid
59.Op Fl M Ar core
60.Op Fl N Ar system
61.Op Fl P Ar ppid
62.Op Fl U Ar uid
48.Op Fl d Ar delim
49.Op Fl g Ar pgrp
50.Op Fl j Ar jid
51.Op Fl s Ar sid
52.Op Fl t Ar tty
53.Op Fl u Ar euid
54.Ar pattern ...
55.Nm pkill
56.Op Fl Ar signal
57.Op Fl ILafilnovx
58.Op Fl F Ar pidfile
59.Op Fl G Ar gid
60.Op Fl M Ar core
61.Op Fl N Ar system
62.Op Fl P Ar ppid
63.Op Fl U Ar uid
64.Op Fl c Ar class
63.Op Fl g Ar pgrp
64.Op Fl j Ar jid
65.Op Fl s Ar sid
66.Op Fl t Ar tty
67.Op Fl u Ar euid
68.Ar pattern ...
69.Sh DESCRIPTION
70The

--- 54 unchanged lines hidden (view full) ---

125Include process ancestors in the match list.
126By default, the current
127.Nm pgrep
128or
129.Nm pkill
130process and all of its ancestors are excluded (unless
131.Fl v
132is used).
65.Op Fl g Ar pgrp
66.Op Fl j Ar jid
67.Op Fl s Ar sid
68.Op Fl t Ar tty
69.Op Fl u Ar euid
70.Ar pattern ...
71.Sh DESCRIPTION
72The

--- 54 unchanged lines hidden (view full) ---

127Include process ancestors in the match list.
128By default, the current
129.Nm pgrep
130or
131.Nm pkill
132process and all of its ancestors are excluded (unless
133.Fl v
134is used).
135.It Fl c Ar class
136Restrict matches to processes running with specified login class
137.Ar class .
133.It Fl f
134Match against full argument lists.
135The default is to match against process names.
136.It Fl g Ar pgrp
137Restrict matches to processes with a process group ID in the comma-separated
138list
139.Ar pgrp .
140The value zero is taken to mean the process group ID of the running

--- 150 unchanged lines hidden ---
138.It Fl f
139Match against full argument lists.
140The default is to match against process names.
141.It Fl g Ar pgrp
142Restrict matches to processes with a process group ID in the comma-separated
143list
144.Ar pgrp .
145The value zero is taken to mean the process group ID of the running

--- 150 unchanged lines hidden ---