Date: Mon, 24 Jan 2000 23:47:41 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Salvo Bartolotta <bartequi@neomedia.it> Cc: questions@freebsd.org Subject: Re: shell command not working in ppp.linkdown Message-ID: <20000124234741.I409@marder-1> In-Reply-To: <20000124.23312100@bartequi.ottodomain.org> References: <20000124222421.E409@marder-1> <20000124.23312100@bartequi.ottodomain.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mark@dogma.freebsd-uk.eu.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000124234741.I409>