From owner-freebsd-stable Sat May 27 11:31:42 2000 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 4B61437B7B7; Sat, 27 May 2000 11:31:37 -0700 (PDT) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id LAA10095; Sat, 27 May 2000 11:30:19 -0700 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda10093; Sat May 27 11:30:04 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.9.3/8.9.1) id LAA06404; Sat, 27 May 2000 11:30:03 -0700 (PDT) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdyL6393; Sat May 27 11:29:40 2000 Received: (from uucp@localhost) by cwsys.cwsent.com (8.10.1/8.9.1) id e4RITdR53955; Sat, 27 May 2000 11:29:39 -0700 (PDT) Message-Id: <200005271829.e4RITdR53955@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdD53304; Sat May 27 11:28:47 2000 X-Mailer: exmh version 2.1.1 10/15/1999 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 4.0-STABLE X-Sender: cy To: "Daniel C. Sobral" Cc: Cy Schubert - ITSD Open Systems Group , Brian Somers , John Baldwin , Randall Hopper , stable@FreeBSD.ORG, housley@thehousleys.net, brian@hak.lan.Awfulhak.org Subject: Re: killall question In-reply-to: Your message of "Sun, 28 May 2000 02:33:59 +0900." <39300707.7F5CB80@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 27 May 2000 11:28:47 -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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