On Thu, Jan 26, 2023 at 06:07:31PM +1100, Andrew Greig via luv-main wrote:
> Thanks Andrew,
> 
> That was quick to do,
> 
> I was expecting to have to discover the process ID and you had that covered
> too.

ps ... | grep ...   will often pick up itself.  You can 

- not care
- use pgrep(1), if you have it
- exclude it ( ps -ef | grep process_name | grep -v )
- use a pattern that won't match itself ( ps -ef | grep [p]rocess_name )


K
_______________________________________________
luv-main mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to