From owner-cvs-etc Mon Jun 2 13:33:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA10641 for cvs-etc-outgoing; Mon, 2 Jun 1997 13:33:19 -0700 (PDT) Received: from veda.is (ubiq.veda.is [193.4.230.60]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA10634; Mon, 2 Jun 1997 13:33:10 -0700 (PDT) Received: (from adam@localhost) by veda.is (8.8.5/8.7.3) id UAA10554; Mon, 2 Jun 1997 20:59:24 GMT From: Adam David Message-Id: <199706022059.UAA10554@veda.is> Subject: Re: cvs commit: src/etc rc In-Reply-To: from "[______ ______]" at "Jun 3, 97 00:01:42 am" To: ache@nagual.pp.ru (=?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?=) Date: Mon, 2 Jun 1997 20:59:22 +0000 (GMT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-etc@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > given the name of the program and its pidfile, it > > is a simple matter to check first, because two different programs cannot > > have the same PID at the same time. > > Extracting program name from 'ps'-like info isn't always possible, > it is small probability that garbadge will be returned, another name, > or program just wipe their own name with something else. > > -- > Andrey A. Chernov > > http://www.nagual.pp.ru/~ache/ > Compliant programs, and those that use the library version of setproctitle all retain the program name within parentheses at the end of the line. IMHO, if the program wipes its name out altogether it deserves whatever crap it gets. -- Adam David