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 56D341382C5 for ; Fri, 5 Feb 2021 14:07:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBF51E091A; Fri, 5 Feb 2021 14:07:50 +0000 (UTC) Received: from pmta21.teksavvy.com (pmta21.teksavvy.com [76.10.157.36]) (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 A82E0E08FE for ; Fri, 5 Feb 2021 14:07:50 +0000 (UTC) IronPort-SDR: doE4ma2TRrBtL6N+LSJFfFNs/SkkHfQr8Kq1fnhiSj0rCLj5TqjPddfli/GDSTPoAYUTvIy0Qs t7YMxUru3YGA== X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2GFLADtUB1g/1Z9oWxigQkHBIFEg3d?= =?us-ascii?q?riHSEUIZAAYF5IDcBgzuYUAsBAQEBAQEBAQE1AQIEAQGERAQCAoICJjcGDgI?= =?us-ascii?q?DAQELAQEBBQEBAQEBBgQCAoZbhlEBBTocMwsYHBIQRxmGLbEbgTSFWYUAgTi?= =?us-ascii?q?NQ0E/gQI/hCo+hQuFLASDcYFceS+QBI0im2sKgnqBGQabBpM9j2W2RIF5gXx?= =?us-ascii?q?9CIMkUBkNV41WF45FJjA3AgYKAQEDCVcBiz0BAQ?= X-IPAS-Result: =?us-ascii?q?A2GFLADtUB1g/1Z9oWxigQkHBIFEg3driHSEUIZAAYF5I?= =?us-ascii?q?DcBgzuYUAsBAQEBAQEBAQE1AQIEAQGERAQCAoICJjcGDgIDAQELAQEBBQEBA?= =?us-ascii?q?QEBBgQCAoZbhlEBBTocMwsYHBIQRxmGLbEbgTSFWYUAgTiNQ0E/gQI/hCo+h?= =?us-ascii?q?QuFLASDcYFceS+QBI0im2sKgnqBGQabBpM9j2W2RIF5gXx9CIMkUBkNV41WF?= =?us-ascii?q?45FJjA3AgYKAQEDCVcBiz0BAQ?= X-IronPort-AV: E=Sophos;i="5.81,155,1610427600"; d="scan'208";a="153979212" Received: from 108-161-125-86.dsl.teksavvy.com (HELO waltdnes.org) ([108.161.125.86]) by smtp12.teksavvy.com with SMTP; 05 Feb 2021 09:07:39 -0500 Received: by waltdnes.org (sSMTP sendmail emulation); Fri, 05 Feb 2021 14:07:39 -0500 From: "Walter Dnes" Date: Fri, 5 Feb 2021 14:07:39 -0500 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes Message-ID: References: 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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Archives-Salt: 7298aa36-86da-4f79-9e29-5852d19af64c X-Archives-Hash: 3560cb90f84750fbadc86e07d298f802 On Fri, Feb 05, 2021 at 06:55:12AM -0500, Rich Freeman wrote > On Fri, Feb 5, 2021 at 2:45 AM Walter Dnes 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 I don't run "desktop environments"; I run useful applications