Re: what port(s) give me good control over processes (list, kill, etc) better than MacOS pgrep+pkill

2023-04-08 Thread Eckard Brauer
if I didn't misunderstand UNIX signals too much, there are a few signals which can't be ignored. That means, after an optional signal handling routine has been run, the deconstruction and remove of the specific process is (or should be) enforced by the OS itself. SIGKILL, SIGSEGV, SIGILL should at

Re: what port(s) give me good control over processes (list, kill, etc) better than MacOS pgrep+pkill

2023-04-08 Thread Kenneth Wolcott
Hi Richard; Thank you for your additional input. Apparently I was over-thinking pgrep+pkill in my earlier attempts. I have implemented your suggestions in my script and it appears to work fine. Thanks, Ken Wolcott On Fri, Apr 7, 2023 at 9:27 PM Richard L. Hamilton wrote: > > Not seeing

Re: what port(s) give me good control over processes (list, kill, etc) better than MacOS pgrep+pkill

2023-04-08 Thread Richard L. Hamilton
If you're trying to be exact and ONLY get the process you're probably interested in, here's a scenario: sh-3.2$ pgrep -lf CARROT # list process-id and full command line 911 /Applications/CARROTweather.app/Contents/MacOS/CARROTweather sh-3.2$ pgrep -l CARROT # list process-id and just command nam

Re: what port(s) give me good control over processes (list, kill, etc) better than MacOS pgrep+pkill

2023-04-08 Thread Kenneth Wolcott
Thank you, you have provided lots of help which I need to fully digest.. Ken On Sat, Apr 8, 2023 at 5:09 PM Richard L. Hamilton wrote: > > If you're trying to be exact and ONLY get the process you're probably > interested in, here's a scenario: > > sh-3.2$ pgrep -lf CARROT # list process-id and