From owner-freebsd-questions Mon Jan 24 15:52:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by hub.freebsd.org (Postfix) with SMTP id 1D03614A16 for ; Mon, 24 Jan 2000 15:52:24 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 10815 invoked from network); 24 Jan 2000 23:47:41 -0000 Received: from usercp27.uk.uudial.com (HELO marder-1.) (62.188.156.56) by smtp.dial.pipex.com with SMTP; 24 Jan 2000 23:47:41 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id XAA01823; Mon, 24 Jan 2000 23:47:41 GMT (envelope-from mark) Date: Mon, 24 Jan 2000 23:47:41 +0000 From: Mark Ovens To: Salvo Bartolotta Cc: questions@freebsd.org Subject: Re: shell command not working in ppp.linkdown Message-ID: <20000124234741.I409@marder-1> References: <20000124222421.E409@marder-1> <20000124.23312100@bartequi.ottodomain.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000124.23312100@bartequi.ottodomain.org> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jan 24, 2000 at 11:31:21PM +0000, Salvo Bartolotta wrote: > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< > > On 1/24/00, 11:24:21 PM, Mark Ovens wrote > regarding shell command not working in ppp.linkdown: > > > > I start xtimer from /etc/ppp/ppp.linkup using > > > bg xtimer > > > but trying to kill it in ppp.linkdown with: > > > shell kill `cat /tmp/xtimer.pid` > > > doesn't work (/tmp/xtimer.pid contains *only* the pid). No errors > > anywhere, xtimer just keeps running, however: > > > shell killall xtimer > > > does work. > > > Anyone any idea why the former doesn't work? > > > -- > > "there's a long-standing bug relating to the x86 architecture > > that allows you to install Windows too" > > -Matthew D. Fuller > > Dear Mark Ovens, > > correct me I am wrong: if you issue "killall", you kill *all* the > instances of a given "program" (which instances are *different* > processes), if > you issue "kill",you should just kill one instance or process. > You are correct, but since xtimer is only a single process and the manpage states: BUGS Don't run xtimer more than one. killall xtimer should be safe. > I usually issue a "killall" to kill StarOffice when it behaves badly > ... > > Although I have NOT used xtimer yet and I do NOT know how it works > (how many processes etc.), this information might apply :-) > > N.B. my_fake_antispam_domain ===> neomedia.it to e.mail to me. > > Best regards, > Salvo > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- "there's a long-standing bug relating to the x86 architecture that allows you to install Windows too" -Matthew D. Fuller ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message