Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2000 11:28:47 -0700
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>, Brian Somers <brian@Awfulhak.org>, John Baldwin <jhb@FreeBSD.ORG>, Randall Hopper <aa8vb@nc.rr.com>, stable@FreeBSD.ORG, housley@thehousleys.net, brian@hak.lan.Awfulhak.org
Subject:   Re: killall question 
Message-ID:  <200005271829.e4RITdR53955@cwsys.cwsent.com>
In-Reply-To: Your message of "Sun, 28 May 2000 02:33:59 %2B0900." <39300707.7F5CB80@newsguy.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <39300707.7F5CB80@newsguy.com>, "Daniel C. Sobral" writes:
> Cy Schubert - ITSD Open Systems Group wrote:
> > 
> > modified it a little.  The advantage over the FreeBSD and Linux killall
> > is that it's portable to any platform.
> 
> Is it?
> 
> > $BSD = -f '/vmunix' || -f '/kernel';
> 
> Funny, this is failing to pick the DCS kernel installed by installworld
> here... And I think it won't work with AIX either, just to name one
> more...

Haven't tried it on AIX.  Ideally it should do a uname -sr to decide 
what ps to use.

The beauty of it is that you can modify it to suit your needs.


Regards,                       Phone:  (250)387-8437
Cy Schubert                      Fax:  (250)387-5766
Team Leader, Sun/DEC Team   Internet:  Cy.Schubert@osg.gov.bc.ca
Open Systems Group, ITSD, ISTA
Province of BC





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005271829.e4RITdR53955>