On Mon, 8 Jul 2002, Ollie Cook wrote:
> On Mon, Jul 08, 2002 at 12:15:26PM -0400, Dave C. wrote:
> > killall is fine - the only difference between kill and killall is that
> > kill takes PID's killall takes a pattern to match against process names.
> >
> > They are both capable of sending any signal to any PID..
>
> I beg to differ. Killall on solaris kills EVERYTHING. No PIDs or patterns
> are supplied, only a signal.
Argh. I just love (non)standardization..
>
> More from 'man killall' on SunOS 5.8:
>
> "SYNOPSIS
> /usr/sbin/killall [ signal ]"
>
> and from 'man pkill':
>
> "NAME
> pgrep, pkill - find or signal processes by name and other
> attributes
>
> SYNOPSIS
> pkill [ -signal ] [ -fnvx ] [ -P ppidlist ] [ -g pgrplist
> ] [ -s sidlist ] [ -u euidlist ] [ -U uidlist ] [
> -G gidlist ] [ -t termlist ] [ pattern ]"
>
> What you say holds true for Linux and FreeBSD (at least), though.