From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes
Date: Fri, 5 Feb 2021 14:07:39 -0500 [thread overview]
Message-ID: <YB2Xe1kGCwDwWeY4@waltdnes.org> (raw)
In-Reply-To: <CAGfcS_ko0HH41_Sj0ccmhxtthk7rkZoXR13whWaCU2q2G=Dk+w@mail.gmail.com>
On Fri, Feb 05, 2021 at 06:55:12AM -0500, Rich Freeman wrote
> On Fri, Feb 5, 2021 at 2:45 AM Walter Dnes <waltdnes@waltdnes.org> wrote:
> >
> > So far, so good, but running "ps -ef | grep whatever" and then
> > typing the kill -SIGSTOP/SIGCONT command on the correct pid is grunt
> > work, subject to typos.
>
> man killall
My reading of the "killall" man page is that it works on command
names. For my script, "pstop palemoon" stops all instances of Pale
Moon. But my script greps the entire line, so "pstop slashdot" will
stop the process...
/home/waltdnes/pm/palemoon/palemoon -new-instance -p slasdot
Does "killall" have that ability to stop a process based on any
parameters in the command line?
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
next prev parent reply other threads:[~2021-02-05 14:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-05 7:45 [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes Walter Dnes
2021-02-05 8:46 ` Andrew Udvare
2021-02-05 19:00 ` Walter Dnes
2021-02-05 18:24 ` Walter Dnes
2021-02-05 22:42 ` Matt Connell (Gmail)
2021-02-06 7:54 ` Walter Dnes
2021-02-05 11:55 ` Rich Freeman
2021-02-05 19:07 ` Walter Dnes [this message]
2021-02-05 14:39 ` Rich Freeman
2021-02-05 16:23 ` Neil Bothwick
2021-02-06 1:08 ` David Haller
2021-02-06 4:46 ` Paul Colquhoun
2021-02-05 12:12 ` Ramon Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YB2Xe1kGCwDwWeY4@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox