From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes
Date: Fri, 5 Feb 2021 16:23:19 +0000 [thread overview]
Message-ID: <20210205162319.14e66f0d@digimed.co.uk> (raw)
In-Reply-To: <YB2Xe1kGCwDwWeY4@waltdnes.org>
[-- Attachment #1: Type: text/plain, Size: 763 bytes --]
On Fri, 5 Feb 2021 14:07:39 -0500, Walter Dnes wrote:
> > 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?
No, but you could look at using pgrep to avoid some of the awkery.
--
Neil Bothwick
Velilind's Laws of Experimentation:
1. If reproducibility may be a problem, conduct the test only once.
2. If a straight line fit is required, obtain only two data points.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-02-05 16:23 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
2021-02-05 14:39 ` Rich Freeman
2021-02-05 16:23 ` Neil Bothwick [this message]
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=20210205162319.14e66f0d@digimed.co.uk \
--to=neil@digimed.co.uk \
--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