Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes
Date: Fri, 05 Feb 2021 14:07:56
Message-Id: YB2Xe1kGCwDwWeY4@waltdnes.org
In Reply to: Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes by Rich Freeman
1 On Fri, Feb 05, 2021 at 06:55:12AM -0500, Rich Freeman wrote
2 > On Fri, Feb 5, 2021 at 2:45 AM Walter Dnes <waltdnes@××××××××.org> wrote:
3 > >
4 > > So far, so good, but running "ps -ef | grep whatever" and then
5 > > typing the kill -SIGSTOP/SIGCONT command on the correct pid is grunt
6 > > work, subject to typos.
7 >
8 > man killall
9
10 My reading of the "killall" man page is that it works on command
11 names. For my script, "pstop palemoon" stops all instances of Pale
12 Moon. But my script greps the entire line, so "pstop slashdot" will
13 stop the process...
14
15 /home/waltdnes/pm/palemoon/palemoon -new-instance -p slasdot
16
17 Does "killall" have that ability to stop a process based on any
18 parameters in the command line?
19
20 --
21 Walter Dnes <waltdnes@××××××××.org>
22 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes Rich Freeman <rich0@g.o>
Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes David Haller <gentoo@×××××××.de>
Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes Paul Colquhoun <paulcol@×××××××××××××××××.au>