From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8F3831382C5 for ; Fri, 5 Feb 2021 16:23:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07BA4E091F; Fri, 5 Feb 2021 16:23:26 +0000 (UTC) Received: from mail.digimed.co.uk (mail.digimed.co.uk [82.69.83.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F8A7E08FB for ; Fri, 5 Feb 2021 16:23:25 +0000 (UTC) Received: from digimed.co.uk (fenchurch.digimed.co.uk [192.168.1.6]) by mail.digimed.co.uk (Postfix) with ESMTPA id 1D8F567CB7 for ; Fri, 5 Feb 2021 16:23:24 +0000 (GMT) Date: Fri, 5 Feb 2021 16:23:19 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes Message-ID: <20210205162319.14e66f0d@digimed.co.uk> In-Reply-To: References: Organization: Digital Media Production X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/fo7fleAgywNxl_fpYwhw3jM"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Archives-Salt: 918f9277-4aaa-4540-a45b-0f3399cf3ddd X-Archives-Hash: 6a69786dd0445521570099c1765d2e7f --Sig_/fo7fleAgywNxl_fpYwhw3jM Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 5 Feb 2021 14:07:39 -0500, Walter Dnes wrote: > > man killall =20 >=20 > 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... >=20 > /home/waltdnes/pm/palemoon/palemoon -new-instance -p slasdot >=20 > 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. --=20 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. --Sig_/fo7fleAgywNxl_fpYwhw3jM Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmAdcPcACgkQ92eFu0QS MJgaHRAAtZ6xXmLR9EFD0TiazOt7rI4Gw+vqtsyIvdEsbBqkX3eaz6QCFvE6Jog8 pBfikvpzTx1rC1/58ty9N7UlRIVU2eSxboflRCA3vUvdLSqAi/ExwsD1fJK4SMYM vEOxmEVPfelkoVKF6hlUxu0TFuGtsMK2Xb+dMxtS8xH4ANjQWcuAbGhevw7D7Alu hySClWLSW+FN4U/elYF1q+x9l0U3YzZPh5FOCNWuc0Ee/ebvzUAGpQi6tPhAaU6x PNpppMr+7a6VXP5c3OOXDa5YbLTsNre68UZRa3RI+yrdEzX9591RrxmGdhJxrfEQ LeoUnHUNYH1HxiLm9PhPkkcYjYEBsfQgMvvkLgG6Trsjdi3rO6Ghg/0ARaH3fM49 L4RqP131mGfHnSxzOJZzZ9pKqtnCNkbfeIah+GLFoBkd1SFbZHHIKFUq1l4wlx2V YOFTW3jBJJ8iCUMES1nx1njIKroBVpcHPVRtSTGs7vQ3+TRbRs5d+oXI/cjRzY6Y NWSyi4ZAnqr3WFgYjAuAvF/8xssAyfyykdu35ide7TUDAtpiCg9wCQOvXfouCGp5 NXHbz5z/7Gv094I9aQ9kb28BsmCsYPqm+hBVdKhA6WY5XmoBKTv971NnDzqAT+mv hjGi4WWHSQ8R/6GM+jTNn3wu5IkFcGhs1Den7zqDjJHEN84tCE4= =chrX -----END PGP SIGNATURE----- --Sig_/fo7fleAgywNxl_fpYwhw3jM--