From owner-freebsd-questions Mon Jan 24 15:31:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by hub.freebsd.org (Postfix) with ESMTP id A498015A49 for ; Mon, 24 Jan 2000 15:31:36 -0800 (PST) (envelope-from bartequi@neomedia.it) Received: from bartequi.ottodomain.org (ppp45-pa4.neomedia.it [195.103.207.237]) by aragorn.neomedia.it (8.9.3/8.9.3) with SMTP id AAA10769 for ; Tue, 25 Jan 2000 00:29:26 +0100 (CET) From: Salvo Bartolotta Date: Mon, 24 Jan 2000 23:31:21 GMT Message-ID: <20000124.23312100@bartequi.ottodomain.org> Subject: Re: shell command not working in ppp.linkdown To: questions@FreeBSD.ORG References: <20000124222421.E409@marder-1> X-Mailer: Supercalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> 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*=20 processes), if you issue "kill",you should just kill one instance or process. 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 =3D=3D=3D> 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