From owner-freebsd-questions Thu Jan 4 13:39:25 2001 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 4 13:39:22 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id A350337B400 for ; Thu, 4 Jan 2001 13:39:22 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id f04LcRG63254; Thu, 4 Jan 2001 13:38:27 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3A54EC23.40A23A03@optonline.net> Date: Thu, 04 Jan 2001 13:39:24 -0800 (PST) From: John Baldwin To: trini0 Subject: RE: Killing process Cc: FreeBSD Questions Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 04-Jan-01 trini0 wrote: > I cant find out where, but Im trying to kill a process by kill -9 > /var/run/*.pid, it keeps saying illegal process. I checked the archives > but found nothing. What is the correct syntax to define a process by > /var/run/*.pid. > Thanks kill `cat /var/run/foo.pid` kill takes the pid as its argument. /var/run/foo.pid is a file that contains the pid of the process. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message