From owner-freebsd-questions Thu Sep 21 15:44:15 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA02193 for questions-outgoing; Thu, 21 Sep 1995 15:44:15 -0700 Received: from strider.ibenet.it (root@[194.179.130.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA02183 for ; Thu, 21 Sep 1995 15:43:45 -0700 Received: (from piero@localhost) by strider.ibenet.it (8.6.12/8.6.12) id AAA12010; Fri, 22 Sep 1995 00:42:40 +0200 From: Piero Serini Message-Id: <199509212242.AAA12010@strider.ibenet.it> Subject: Re: killing xdm To: hernanw@FSL.ORST.EDU (Wayne Hernandez) Date: Fri, 22 Sep 1995 00:42:39 +0200 (MET DST) Cc: freebsd-questions@freebsd.org In-Reply-To: from "Wayne Hernandez" at Sep 21, 95 10:52:51 am Reply-To: piero@strider.ibenet.it Operating-System: FreeBSD 1.1.5.1 X-Phone-Number: +39 (2) 58113562 X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 759 Sender: owner-questions@freebsd.org Precedence: bulk Hello. Quoting from Wayne Hernandez (Thu Sep 21 19:52:51 1995): > I used kill `ps -awx| grep xdm | cut -c 1-6`, but that is not fast > enough, as I keep getting messages that the ps jobs do not exist. You are killing any process with the string "xdm" in the arg list. This includes the grep process, but it's irrelevant. First of all, Anyway there's no need to grep for the pid. Under R5 the pid is stored in: /usr/X386/lib/X11/xdm/xdm-pid, I don't know the location under R6 but I suppose it's in: /usr/X11R6/lib/X11/xdm/xdm-pid. Bye, -- # $Id: .signature,v 1.12 1995/08/14 12:10:54 piero Exp $ Piero Serini Via Giambologna, 1 I 20136 Milano - ITALY