I have a bunch of processes that I wish to kill, but which have the same name and owner as process I wish to leave running. ps, pgrep and pkill can select based on a process' gid or egid.
How can gid or egid be set when starting a process from shell? Regards, -Lars