On Fri, Feb 5, 2021 at 2:07 PM Walter Dnes <[email protected]> wrote:
>
> On Fri, Feb 05, 2021 at 06:55:12AM -0500, Rich Freeman wrote
> > On Fri, Feb 5, 2021 at 2:45 AM Walter Dnes <[email protected]> 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...

Yeah, that is fair enough.  If you want to use other elements of the
command line/etc then you'd need to do something more along the lines
of your script.  Just wanted to make people aware.

-- 
Rich

Reply via email to